1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

DOS Commands

A Complete List of MS-DOS Commands

By

DOS commands are the commands available in MS-DOS that are used to interact with the operating system. Unlike in Windows, DOS commands are the primary way in which you use the MS-DOS operating system.

Are you sure you're looking for DOS commands? If you use Windows (like Windows 7, 8, Vista, XP, etc.) then you have no need for DOS commands because you don't have MS-DOS. The commands in Windows are available from the Command Prompt and are called Command Prompt commands or sometimes CMD commands, but they are not DOS commands.

See my lists of Windows 8 commands, Windows 7 commands, Windows Vista commands, or Windows XP commands instead or you can see a table with every command from DOS through Windows 8 here or the same with more information about the commands here.

Below is a complete list of the nearly 100 MS-DOS commands, commonly referred to as simply DOS commands, available as of MS-DOS 6.22:

Append

The append command can be used by programs to open files in another directory as if they were located in the current directory.

Attrib

The attrib command is used to change the attributes of a single file or a directory.

Break

The break command sets or clears extended CTRL+C checking.

Call

The call command is used to run a script or batch program from within another script or batch program.

The call command has no effect outside of a script or batch file. In other words, running the call command at the DOS prompt will do nothing.

Cd

The cd command is the shorthand version of the chdir command.

Chcp

The chcp command displays or configures the active code page number.

Chdir

The chdir command is used to display the drive letter and folder that you are currently in. Chdir can also be used to change the drive and/or directory that you want to work in.

Chkdsk

The chkdsk command, often referred to as check disk, is used to identify and correct certain hard drive errors.

Choice

The choice command is used within a script or batch program to provide a list of choices and return the value of that choice to the program.

Cls

The cls command clears the screen of all previously entered commands and other text.
  1. About.com
  2. Technology
  3. PC Support
  4. Command Line Reference
  5. Complete List of DOS Commands (MS-DOS Commands)

©2014 About.com. All rights reserved.