MS DOS COMMAND LIST TUTORIAL

A list of Ms-Dos commands and their usage

Attrib Sets the attributes of a file attrib +H -R +S -A new.txt -Sets new.txt to be hidden and a system file, but not read-only or archive
cd Change directory cd C:/data
CLS Clears the screen
Copy a file/ directory copy C:/note.txt C:/data/new.txt
del Delete a file del new.txt
deltree Deletes a directory and all subdirectories DELTREE c: temp
dir Lists all files in a directory
echo Prints to screen echo hello edit Opens to edit program
fdisk Opens the fdisk (disk wiper) program
find Displays all lines in a file containing search term find “hello” new.txt
format Formats a drive format a:
path Sets where dos should look for programs PATH c: windows;c: windows command