Dos - Attrib Command (File Attributes)

Card Puncher Data Processing

About

file attributes in DOS.

The attrib commands displays or changes file attributes.

Syntax

Displays or changes file attributes.

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

Options Description
+ Sets an attribute.
- Clears an attribute.
R Read-only file attribute.
A Archive file attribute.
S System file attribute.
H Hidden file attribute.
I Not content indexed file attribute.
[drive:][path][filename] Specifies a file or files for attrib to process.
/S Processes matching files in the current folder and all subfolders.
/D Processes folders as well.
/L Work on the attributes of the Symbolic Link versus the target of the Symbolic Link





Discover More
Card Puncher Data Processing
DOS - File

File in DOS. See ... in a for loop: the file name without extension. Fully Qualified Path Name See if exist statement See: ERASE Deletes one or more files. type...
Undraw File Manager Re Ms29
File System - File (Attributes|Metadata|Status)

file attributes are the metadata of a file. A file consists also of attributes such as: path (location) its directory (act as a namespace) contents (only for regular file) the security descriptor,...



Share this page:
Follow us:
Task Runner