home *** CD-ROM | disk | FTP | other *** search
- ATTRIB [+R] filename[.ext]
- or
- ATTRIB -R filename[.ext]
- or
- ATTRIB [+A] [-A] filename[.ext] [/S] [new DOS 3.2]
-
- filename[.ext] may be an actual filename and extension, or include wild cards.
-
- /S causes ATTRIB to modify attributes in the current directory and all of
- its subdirectories.
-
- The ATTRIB external command without any option will report the current status
- of the attribute(s). It also list the full pathname of each file reported,
- making it a useful alternative to the DIR command in some cases. +R sets and
- -R clears the read-only attribute on one or more files in the current
- directory, making it more difficult to delete or modify a file. The read-only
- attribute is discussed in more detail in the NEW_TERMS DIRECTORY topic. The
- archive attribute can also be set (+A) or cleared (-A) on later versions of
- DOS, allowing greater control of files that have been modified and the BACKUP
- and XCOPY commands.