Subscribe to Windows IT Pro
March 19, 2001 12:00 AM

Read-only Attribute Setting

Windows IT Pro
InstantDoc ID #19984
Rating: (6)

I've copied several files from the Windows NT Server 4.0 distribution CD-ROM to my hard disk. However, I can't seem to edit the .ini file. How can I edit this .ini file?

Files that you copy from CD-ROM to your hard disk are always marked with a Read-only attribute. To disable the Read-only attribute, go to the file's Properties sheet, select the General tab, and clear the Read-only check box. A more direct method is to go to the directory into which you've copied the files and type

attrib *.* -S -H -R

Then, press Enter. You can now edit any file.

Related Content:

ARTICLE TOOLS

Comments
  • Anonymous User
    7 years ago
    Feb 05, 2005

    when i type atttrib -s -h -r it see file - not found

  • Anonymous User
    8 years ago
    Nov 09, 2004

    it says that it is unnable to set the attributes for the file how do i get past that?

  • Markus Keuter
    11 years ago
    Apr 11, 2001

    Use Xcopy which resets the Read-Only Attribute by default.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.