mattrib—Change MS-DOS file attribute flags
mattrib [ -a|+a ][-h|+h ][-r|+r ][-s|+s ] msdosfile [ msdosfiles… ]
mattrib adds attribute flags to an MS-DOS file (with the + operator) or removes attribute flags (with the – operator).
mattrib allows the following command-line options:
|a||Archive bit. Used by some backup programs to indicate a new file.|
|r||Read-only bit. Used to indicate a read-only file. Files with this bit set cannot be erased by DEL or modified.|
|s||System bit. Used by MS-DOS to indicate an operating system file.|
|h||Hidden bit. Used to make files hidden from DIR.|