You??™ll see the file Properties dialog box. The Read-only and Hidden options on the General tab
modify these attributes on the file. Click Advanced and you??™ll see the Advanced Attributes dialog
box that contains the File Is Ready for Archiving option that controls the archive attribute. Although
this method is aesthetically pleasing, you have to change the files one at a time. Using Attrib, you
can change a number of files using a single command. For example, if you want to remove the system,
hidden, and read-only attributes from every executable in a particular folder, you??™d type:
Attrib -h -r -s *.EXE
CHANGING FILE AND DIRECTORY ATTRIBUTES WITH THE ATTRIB UTILITY
395
Standard FAT and NTFS File Attributes
Everyone categorizes the data they create. For example, you might make a differentiation between data
and executable files, and then further categorize the data by the application that created it. Categorizing
files is important because the categorization process helps you define the file and specify what it does
for you. The operating system categorizes files, too, and in a way that you can use to your advantage. By
knowing how to use attributes, you can differentiate between files that the system uses (ones that you
normally don??™t need to worry about) and those that you use.
Pages:
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937