List of helpful DOS commands

Command Action Usage example
cd Change directory
(no argument displays current path)
cd games
dir List directory contents dir
cls Clear the screen cls
copy Copy file copy fromfile tofile
move Move file from source to bar
if bar is an existing directory.
Otherwise renames foo to bar.
move foo bar
rename Rename a file or directory rename oldname newname
del Delete file del junkfile
rd Remove a directory rd artoo
exit Exit the shell exit

Additional resources and references

Return to previous page