DOS Commands
program.exe
Open the file program.exe
C:\data\app.exe
Open the file app.exe from C:\data directory.
dir
View files in a current directory
dir C:\document\files\info
View files in C:\document\files\info
copy data.exe C:\database
Copy the data.exe to C:\database directory
xcopy C:\info C:\database
A powerful version of copy that copy all files from C:\info to C:\database
move C:\info\file.exe C:\database
Move file.exe from C:\info to C:\database
cd document
Go to document directory
cd C:\
Go to C:\ directory
cd ..
Up one level
format A:\
Format floppy disk A:\
tree
Tree listing of the current drive
ver
Check version of MS-DOS/Windows
undelete C:\info\data.exe
Restore deleted files
label A: labelme
Label the floppy disk A:\
cls
Clear the command history
exit
Exit the Command Prompt(Windows only)
time
Ask for new time and leave it blank without changing time
time 8:34
Change the time to 8:34
date
Ask for new date and leave it blank without changing date
vol c:
Display the C:\ info
md files
Create directory called files
md C:\document\fav
Create directory called fav in C:\document
Not only that, here is the DOS command: