Site hosted by Angelfire.com: Build your free website today!

MS-DOS External Commands

The ATTRIB Command

Description:

Displays or changes file attributes.

Command Syntax:

ATTRIB [+R | -R] [+A | -A] [+S | -S] [+H | -H] [[drive:][path]filename] [/S]

Explanation of Syntax:

+ Sets an attribute.
- Clears an attribute.
R Read-only file attribute.
A Archive file attribute.
S System file attribute.
H Hidden file attribute.

Command Use:

This command can be used at the command prompt and in batch files.