The Command Prompt in Windows provides access to over 280 commands. These commands are used to do certain operating system tasks from a command-line interpreter instead of the graphical Windows interface we use most of the time.

For example, Command Prompt commands let you copy data to a different folder, format an entire disk, back up your files, send messages to other computers, restart your own computer, and much more. There are also several Command Prompt tricks and hacks that utilize some of these commands. 

CMD Commands

Below is a complete list of Command Prompt commands, often called CMD commands (and sometimes incorrectly as Command Prompt codes), available from the Command Prompt in Windows 11, Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP.

Since these commands work within the context of Command Prompt, you have to open Command Prompt to utilize them.

Command Prompt Commands List

As mentioned above, we’ve also included DOS commands from MS-DOS and early ​versions of Windows:

It’s important to know that the commands in Windows 11, 10, 8, 7, Vista, and XP are called CMD commands or Command Prompt commands, and the commands in Windows 98/95 and MS-DOS are called DOS commands. We’ve included all of them in this list to help show changes in commands from operating system to operating system.

Press Ctrl+F while using a desktop browser for a quick way to find more information about a specific command or to look for a particular keyword in this table.

Operating System Specific Commands

If you’re only interested in the commands available in your version of Windows or MS-DOS, we have accurate and detailed lists of commands for Windows 8, commands for Windows 7, commands for Windows XP, and DOS Commands.

Finally, we also have a comparison table of Windows commands, showing which appear in which version of Windows, which might be helpful depending on what you’re after.

Get the Latest Tech News Delivered Every Day

  • Windows 8 Command Prompt Commands

  • Command Availability Across Microsoft Operating Systems

  • Windows 7 Command Prompt Commands

  • How to Open Command Prompt (Windows 11, 10, 8, 7, etc.)

  • The Ultimate, Complete List of MS-DOS Commands

  • 35 Best Free Data Destruction Software Programs

  • Windows XP Command Prompt Commands

  • How to Open an Elevated Command Prompt

  • 32 Best Free File Shredder Software Programs

  • 14 Best Free Hard Drive Testing Programs

  • How to Access Device Manager From the Command Prompt

  • Recovery Console: What It Is & a List of Commands

  • How to Properly Reboot (Restart) a Windows Computer

  • Command Prompt: What It Is and How to Use It

  • How to Scan a Hard Drive Using ‘Error Checking’

  • The 21 Best Free Data Recovery Software Tools of 2023

  • Facebook

  • Twitter

Hit Refresh on Your Tech News

  • About Us

  • Privacy Policy

  • Editorial Guidelines

  • Terms of Use

  • Careers

  • Advertise

  • Contact

  • EU Privacy

  • NEWS

  • HOW TO

  • FEATURES

  • ABOUT US