Subscribe to Windows IT Pro
March 29, 2005 12:00 AM

JSI Tip 9204. You cannot change the Read-only or System attribute of a folder in Windows XP or Windows Server 2003?

Windows IT Pro
InstantDoc ID #83327
Rating: (0)

When you use a folder's Properties dialog to view or change the Read-only or System attributes, the Read-only box is dimmed, and/or the System attribute box is missing. If the Read-only box is available, clearing and pressing Apply returns:

Confirm Attribute Changes
You have chosen to make the following attribute changes:
unset read-only
Do you want to apply this change to this folder only, or do you want to apply it to all subfolders and files as well?

If you Apply changes to this folder only, the Read-only attribute is changed for the level one files only, the folder is not changed.

If you Apply changes to this folder, subfolders, and files, the files are changed on all levels, but not the folder or sub-folders.

The Read-only and System attributes is only used by Windows Explorer to determine whether the folder is special (customized).

To change a folder's Read-only and/or System attribute, use the Attrib command at a CMD.EXE window or batch.

Attrib /? returns:

Displays or changes file attributes.

ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [drive:][path][filename]
       [/S [/D]]

  +   Sets an attribute.
  -   Clears an attribute.
  R   Read-only file attribute.
  A   Archive file attribute.
  S   System file attribute.
  H   Hidden file attribute.
  [drive:][path][filename]
      Specifies a file or files for attrib to process.
  /S  Processes matching files in the current folder
      and all subfolders.
  /D  Processes folders as well.
NOTE: See Windows (2000) Explorer cannot remove the Read-Only attribute from a folder?



Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
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.