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: 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.