The ATTRIB Commnd - CMD
Attrib commnd - Changes file attributes for a single file or directory. This command sets or removes the read-only, system, hidden, and compressed attributes assigned to files or directories.
The attrib commnd with the parameters listed below is only available when you are using the Recovery Console. The attrib command with different parameters is available from the command prompt.
attrib [+r|-r] [+s|-s] [+h|-h] [+c|-c] [[drive:][path] filename]
Parameters
+r
Sets the read-only file attribute.
-r
Clears the read-only file attribute.
+s
Sets the system file attribute.
-s
Clears the system file attribute.
+h
Sets the hidden file attribute.
-h
Clears the hidden file attribute.
+c
Sets the compressed file attribute.
-c
Clears the compressed file attribute.
[[drive:][path] filename]
Specifies the location and name of the directory or file you want to process. You can change attributes for only one file or directory at a time.
ATTRIB Operating System Windows 2000 Windows 2003 Windows XPATTRIB Operating System Windows 2000 Windows 2003 Windows XP
Filed under: Operating System, Windows XP, Windows 2000, Windows 2003


Leave a Reply