Name

attrib

Synopsis

attrib [options] [files]

Set DOS file attributes (or display the current attributes if no options are specified). The file list defaults to all files in the current directory.

Options

+x| -x

Add or remove an attribute, where x is one of the following code characters: R (read-only), H (hidden), S (system) or A (archive).

/S

Recurse subdirectories in the file list.

/D

Apply attributes to folders themselves.

Get Windows 2000 Commands Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.