                                   ATTRIB
        Set or display the ARCHIVE or READ-ONLY attributes on a file
                         See also <BACKUP> <XCOPY>

COMMAND TYPE: External                  VERSION: 3.0 and up

USE:  ATTRIB [+R|-R][+A|-A][d:][path] [filename][/S]

+R sets the file attribute to READ-ONLY.
-R removes the READ-ONLY file attribute, allows updating of the file.
+A sets the archive bit.
-A resets the archive bit.

d: path filename specifies the file whose attributes will be changed.
   (wildcards may be specified)

/S to process all files in the specified directory and its
   subdirectories.  (This switch is valid for DOS 3.3 and later
   versions).

EXAMPLE: ATTRIB +R HELP.COM

The above example sets the file 'HELP.COM' to a READ-ONLY status. The
archive attribute is set whenever a file is modified, and is used by
<BACKUP>, <RESTORE> and <XCOPY> to determine whether to process files based
on their "modified" status.  Other non-MSDOS backup programs also may
examine this attribute.  Backup and copy programs may or may not
remove the archive bit, depending on settings.
