Kioskea
Recherche
Ask a question »

Basic MS-Dos commands

March 2015

In the operating system MS-Dos , standard system commands have been provided. These commands are meant to carry out common tasks like deleting specific files, changing the directory, listing contents of the specified directory, etc, and in effect create a convenient user interface. The access to the list of basic commands that can be used in the Dos prompt can be really helpful from the user's point of view. In MS-Dos, there is also a help page that opens up once 'type /?' is inserted after the command and this gives additional information about the command.

Basic MS-Dos commands




Intro


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

For additional information about these commands, type /? after entering the command in the DOS prompt (e.g. copy/?, dir/?), this will normally open a 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>
    • Deletes a specific file
  • move <source> <destination>
    • Allows you to move a file from a <source> folder to a <destination folder>
  • ren <source> <destination>
    • Renames the specified file
  • edit <filename>
    • Opens the default DOS editor to allow modification of a specified file
  • cls
    • Clears the DOS screen
  • exit
    • Leaves the DOS terminal
For unlimited offline reading, you can download this article for free in PDF format:
Basic-ms-dos-commands.pdf

See also

In the same category

Published by netty5. - Latest update by Paul Berentzen
This document entitled « Basic MS-Dos commands » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.