Attributes are special notations that the file system makes about the folder or file. For
example, when you modify a file, the file system sets the archive attribute, which tells your backup
program that the file has changed. When the backup program makes a copy of the file, it resets the
archive attribute. See the ???Standard FAT and NTFS File Attributes??? sidebar for additional details
about attributes. This utility uses the following syntax:
ATTRIB [{+R | -R}] [{+A | -A }] [{+S | -S}] [{+H | -H}]
[drive:][path][filename] [/S [/D] [/L]]
The following list describes each of the command line arguments.
+
Sets an attribute.
-
Clears an attribute.
R
Modifies the read-only file attribute.
A
Modifies the archive file attribute.
S
Modifies the system file attribute.
H
Modifies the hidden file attribute.
[drive:][path]
filename
Defines one or more files to modify or query. You can use wildcard
characters to define the file specification. Specifying a file specification without any attribute
changing command line switches displays the attributes for those files. Using Attrib by itself,
without any file specification, displays the attributes for all files in the directory.
Pages:
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935