Here are some useful MS-DOS Commands:
Attrib - Displays or changes file attributes
Syntax: attrib [+/- [R] [A] [S] [H] [I]] [drive:] [path] [filename] [/S [/D] [/L]]
- + = Set an attribute
- - = Clear 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
- /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
Call - Calls another batch program from another
Syntax: call [drive:] [path] filename [batch-parameters]
CD - Displays the name of or changes the current directory
Syntax:
- CHDir [/D] [drive:] [path]
- CHDir [..]
- CD [/D] [drive:] [path]
- CD [..]
- /D= Change the current drive as well as directory for a drive
- .. = Change the directory to the parent of the current directory