HOW TO: Take Ownership of a File or Folder in Windows XP (Q308421)
From a Command prompt use the ATTRIB command.
Displays or changes file attributes.
This command displays, sets, or removes the Read-Only, Archive, System, and Hidden attributes assigned to files or directories.
Syntax
ATTRIB [+R|-R] [+A|-A] [+S|-S] [+H|-H][[drive:][path]filename] [/S]
To display all attributes of all files in the current directory, use the following syntax:
ATTRIB
Parameter
[drive:][path]filename
Specifies the location and name of the file(s) you want to process.
Switches
+R
Sets the Read-Only file attribute.
-R
Clears the Read-Only file attribute.
+A
Sets the Archive file attribute.
-A
Clears the Archive file attribute.
+S
Sets the file as a System file.
-S
Clears the System file attribute.
+H
Sets the file as a Hidden file.
-H
Clears the Hidden file attribute.
/S
Processes files in the current directory and all of its subdirectories.
"If you ever copied files from a CD-ROM to your hard drive, you've probably noticed that those files will be set to read-only, preventing you from modifying them. Removing the read-only attribute by hand can get really tedious, especially if you're looking at hundreds or thousands of files. ArcSet is a utility that does the job for you. It can automatically reset file attributes on specified files on a drive or in a folder, even recursing through subfolders."
ArcSet -- Win9x, NT4, Win2K, WinME, XP