Sunday, 6 November 2011

ms dos command

=== attrib ===
:[[Attrib]] changes or views the attributes of one or more files. It defaults to displaying the attributes of all files in the current directory.

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

Options:
*To add an attribute attach a '+' in front of it.
*To remove an attribute attach a '-' in front of it
*Attributes include
**R - Read-only
**A - Archive
**S - System
**H - Hidden
**/D - Process folders as well.
**/S - Process matching files in the current folder and all subfolders.

Note: Everything inside a brace [option] is an optional item.
Roughly equivalent to the [[Unix]] commands [[chattr]] and [[lsattr]].

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...