Command Prompt Commands .com

 

attrib command

             Name a star after a person

Change or view the attributes of one or more files. It defaults to displaying the attributes of all files in the current directory.

Options:

  • To add an attribute attach a '+' in front of it.
  • To remove an attribute attach a '-' in front of it
  • Attributes include
    • A - Archived (used mainly by file archiving software)
    • H - Hidden
    • S - System
    • R - Read-only
attrib [+|-ahrs] [filespec]
Roughly equivalent to the Unix command chmod. In Linux, the command chattr also performs similar functions.

Command Prompt Commands » attrib