How To Change The Read-Only Folder Attribute
If you have one or more folders that are set to Read-only in Windows Vista and you aren't able to view or change the attributes in the Properties dialog box, you can work around the problem by using the attrib command line tool.
To view or to remove the Read-only or the System attributes of folders in Windows Server 2003 or in Windows XP
Click Start, click Run, type cmd, and then press ENTER.
To view the syntax for the Attrib command, type attrib \\? at the command prompt.
Warning If you remove the Read-only or System attribute from a folder, it may appear as a ordinary folder and some customizations may be lost. For example, Windows customizes the Fonts folder and provides a special folder view that permits you to hide variations, such as bold and italic. It also permits you to change the folder's view settings in ways that are specific to fonts. If you remove the Read-only and System attributes of the Fonts folder, these customized view settings are not available. For folders that you have customized by using the Customize tab of the folder's Properties dialog box, the folder icon and other other customizations may be lost when you remove the Read-only attribute.
If a program cannot save files to a folder with the Read-only attribute, such as My Documents, change the Read-only attribute to System by using the Attrib command at a command prompt.
To remove the Read-only attribute and to set the System attribute, use the following command:
attrib -r +s drive:\\<path>\\<foldername>
For example, to remove the Read-only attribute and to set the System attribute for the C:\\Test folder, use the following command:
attrib -r +s c:\\test
Be aware that some programs may not operate correctly with folders for which the System attribute and the Read-only attribute are set. Therefore, use the following command to remove these attributes:
attrib -r -s c:\\test
To view or to remove the Read-only or the System attributes of folders in Windows Vista
Click Start, click Run, type cmd, and then press ENTER..
To view the syntax for the Attrib command, type attrib \\? at the command prompt.
To remove the Read-only attribute and to set the System attribute, use the following command:
attrib -r +s drive:\\<path>\\<foldername>
For example, to remove the Read-only attribute and to set the System attribute for the C:\\Test folder, use the following command:
attrib -r +s c:\\test
Be aware that some programs may not operate correctly with folders for which the System attribute and the Read-only attribute are set. Therefore, use the following command to remove these attributes:
attrib -r -s drive:\\<path>\\<foldername>
For example, to remove both the Read-only and the System attributes from the C:\\Test folder, use the following command:
attrib -r -s c:\\test
If the Run command is not listed on the Start menu, do the following:
Click Start, click All Programs, click Accessories, and then click Run.
- Printer-friendly version
- Log in to post comments
- 3493 reads