
Updated · Mar 28, 2023
Updated · Jan 27, 2023
If there were awards for looks, Command Prompt wouldn’t get any.
After all, plain white text and a blinking cursor set against a black background is nothing special.
If there were awards for speed, however, Command Prompt would win a bagful. Even the intuitive, efficient graphical user interface of Windows 10 is no match for it when it comes to speed.
As a command line interpreter, Command Prompt allows you to directly communicate with your computer using Windows cmd commands.
You can use these text-based commands for various tasks, including automating tasks using script and batch files, performing many advanced functions, and troubleshooting issues.
Sometimes using the Command Prompt is a much quicker way of interacting with the computer than the graphical user interface. On other occasions, it is the only way to access certain information or take advantage of certain features.
This tool provides you with access to more than 280 command prompt commands. Still, as an average user, you probably don’t need to know that many.
In fact, you’re not likely to ever need more than the handful of text-based commands listed below.
The command prompt is an unforgiving application. It doesn’t take kindly to mistakes. Nor does it offer any means to undo an action. Once you’ve run a command, there’s no way to call it back. So use Command Prompt sensibly and carefully.
Attrib (syntax: attrib) – You can use the attrib command to display or change the read-only, archive, system, and hidden attributes of any computer file or directory. You can run this command in Command Prompt in all the versions of Windows.
Background Intelligent Transfer Service (syntax: bitsadmin) – The bitsadmin command allows you to create and monitor downloads and uploads. By default, it gives you access to information related to your jobs in the command window. However, if you want to access information about a job created by another user, you’ll have to run the command in Command Prompt with administrative privileges.
Change Directory (syntax: chdir) – You can use the chdir command to display the current directory and to switch directories. For example, if you type chdir and press Enter, you’ll see the current directory. If you want to go to the highest level, type chdir\ and press the Enter key. This command is one of the most basic cmd commands and available in all Windows versions.
Check Disk (syntax: chkdsk) – This is an inbuilt utility in Windows that helps you scan your hard disk for errors and fix them. Depending on the size and health of your hard disk, the chkdsk command can take anything from a few minutes to an hour or even more to run. You can do the same by using a tool like System Mechanic.
Cmd (syntax: cmd) – You can use the cmd command to launch Command Prompt from the run dialog box.
Color (syntax: color) – This is one of the coolest cmd tricks you’ll come across. It allows you to change the background and text color of Command Prompt window. To see the color options available, run color/ in Command Prompt.
Delete (syntax: del) – You can use this command to delete files. Mind, when you delete files using the del command, you erase them completely. So use this powerful command carefully.
Directory (syntax: dir) – The dir command is one of the most recognized command line commands and lists all the files and subdirectories in a particular directory. It also shows other useful information, including the total number of files listed in the directory, the total amount of free space, and the drive’s serial number.
Erase (syntax: erase) – This command is the same as the del command. You can use it to permanently remove any file.
Exit (syntax: exit) –Want to end the current Command Prompt session? Simply type exit and press the Enter key.
Find (syntax: find) – This is one of the more popular Windows command line commands. It allows you to search for a specific character sequence in one or multiple files.
Group Policy Results (syntax: gpresult) – With the help of this command, you can view the group policies that apply to your computer.
Help (syntax: help) – If you want to learn about a command’s syntax and usage, you should use the help command.
Internet Protocol Configuration (syntax: ipconfig) – This is one of the most helpful cmd commands for getting network information. It shows the default gateway, subnet mask, and IP address for all network adapters. To run the command, simply type ipconfig and then press the Enter key. You’ll see something like this in Command Prompt.
Ksetup (syntax: ksetup) – The ksetup command allows you to connect to a Kerberos server.
Logoff (syntax: logoff) – Run this command to terminate a user session from Command Prompt. You can also use the logoff command to end sessions on the remote computers.
Make Directory (syntax: mkdir) – As the name suggests, the mkdir command allows you to create one or more new directories in the current directory. In the screenshot below, I’m using it to create a new directory called “computer.”
Message (syntax: msg) –The msg command is one of the most interesting Command Prompt tricks. You can use it to talk with other users on the network through Command Prompt, like it was done with old computers that didn’t have a graphical user interface.
Net (syntax: net) – With this command, you can manage different aspects of your network. Its settings include network users, network shares, and network print jobs, among others.
Openfiles (syntax: openfiles) – You can display or disconnect files and directories opened on a computer using the openfiles command.
Ping (syntax: ping) – A popular cmd command, ping is used for finding and troubleshooting networking problems.
Print (syntax: print) – Did you know that you can print a text file from Command Prompt in Windows 10? All you have to do is use the print command, which is also available in other Windows versions. However, you can use this command to only print those files that you can reach from a command line.
Qprocess (syntax: qprocess) – This command gives you information about all running processes.
Rename (syntax: rename) – You can change the name of a file, folder, or directory through Command Prompt using the rename command. However, to complete the command you must have “write” or “modify” permissions to the file, folder, or directory that you are renaming.
System File Checker (syntax: sfc) - If you suspect issues with important Windows files, you can run the sfc command to check and replace them.
Shutdown (syntax: scandisk) – There are two cmd prompt commands that you can use to log off from your computer. The logoff command is the first, and the shutdown command the second. However, you can do a lot more with the latter, such as shut down, restart, and hibernate not only your computer but also any other computer to which you’ve access over a network.
Start (syntax: start) – Wondering how to open a new cmd window from an existing one? Just type start in Command Prompt and press the Enter key. A new command window will open in a flash.
Systeminfo (syntax: systeminfo) – If you want to know more about your computer configuration, such as its BIOS details, hard drive, processor, operating system, and other specifications, simply run the systeminfo command. You need a Command Prompt with administrative privileges to execute this command.
Taskkill (syntax: taskkill) – You can end one or more processes from the command line using the taskkill command.
Umount (syntax: umount) – You can use the umount command to remove network file system drives.
Ver (syntax: ver) – The ver command is one of the simpler Windows commands and allows you to check the current Windows version number. When I ran the ver command, the following information came up:
W32tm (syntax: w32tm) – You can diagnose problems with Windows time using the w32tm command.
Xcopy (syntax: xcopy) – Want to copy files located in one directory to another through Command Prompt? Just execute the xcopy command. It is available in all Windows versions.
Much has changed in Windows 10, but Command Prompt remains the same. It’s still a powerful tool and can give you access to several features you can’t find in the otherwise intuitive graphical user interface of Windows 10. This command line interpreter allows you to communicate directly with your system, of course, using the wealth of Windows Cmd Commands available. In this post, I listed many commands that will hopefully prove useful to the average Windows user. Thanks for reading!
Deyan Georgiev
Deyan has been fascinated by technology his whole life. From the first Tetris game all the way to Falcon Heavy. Working for TechJury is like a dream come true, combining both his passions – writing and technology. In his free time (which is pretty scarce, thanks to his three kids), Deyan enjoys traveling and exploring new places. Always with a few chargers and a couple of gadgets in the backpack. He makes mean dizzying Island Paradise cocktails too.
Latest from Author
Your email address will not be published.
Updated · Mar 28, 2023
Updated · Mar 23, 2023
Updated · Mar 22, 2023
Updated · Mar 21, 2023