mattrib(1)


NAME
     mattrib - change MSDOS file attribute flags

SYNOPSIS
     mattrib [-a|+a] [-h|+h] [-r|+r] [-s|+s] msdosfile [msdosfiles ...]

DESCRIPTION
     Mattrib will add attribute flags to an MSDOS file (with the '+' operator)
     or remove attribute flags (with the '-' operator).

     Mattrib will allow the following command line options:

     -a|+a
          Archive bit.  Used by some backup programs to indicate a new file.

     -r|+r
          Read-only bit.  Used to indicate a read-only file.  Files with  this
          bit set cannot be erased by DEL or modified.

     -s|+s
          System bit.  Used by MSDOS to indicate a operating system file.

     -h|+h
          Hidden bit.  Used to make files hidden from DIR.

SEE ALSO
     mtools(1).