Basic MS-Dos commands

Last update on September 19, 2009 10:03 AM by jak58
Published by netty5

Basic MS-Dos commands





Intro


Here is a list of basic commands that you can use in a DOS prompt (e.g. a using a boot disk).

To have additional information about these commands, type /? after entering the command in the DOS prompt (copy/?,dir/?..), this will normally open an help page.

The command prompts:

  • cd < directory name>
    • cd is the basic DOS command, it allows you to change directory.
  • dir [ name of directory]
    • dir allows you to list all contents of the specified directory.
  • copy <source> <destination>
    • Allows you to copy a file from a <source>folder to a <destination folder>.
  • del<file>
    • delete specific file.
  • move <source> <destination>
    • Allows you to move a file from a <source>folder to a <destination folder>.
  • ren <source> <destination>
    • Rename the specified file.
  • edit <filename>
    • Opens the default DOS editor to allow modification of specified file.
  • cls
    • Clear DOS screen.
  • exit
    • Leave the DOS terminal.