DOS Command | Meaning |
---|---|
cd dirname | Change to new directory |
cls | Clear screen |
copy filename1 filename2 | Copy file |
del filename | Delete file |
dir | Show all files in current directory |
echo | Echo a string to the screen |
exit | Close Command Prompt Window |
help | List information about DOS commands |
mkdir dirname | Make new directory |
rename filename1 filename2 | Rename file |
rmdir dirname | Remove directory |
type filename | Type contents of file at screen |
dir > dir.txt type dir.txt echo This is a test string > test.txt type test.txt
dir > out.txt echo This is a test string >> out.txt type out.txt