The Windows Command Prompt, also called cmd.exe, contains more than 280 commands. Here are the 20 most important ones.
The Windows command prompt can be a very useful and, above all, powerful tool – if you know how to handle it. There are countless commands that you can not possibly remember. Therefore, we have put together for you the 20 most important commands in our tips article for you.
Also Read: how to restore deleted photos from sd card
The 20 most important CMD commands in Windows
To enter commands, you must first open the command prompt. Simply press the keys [Windows] + [R] simultaneously and enter ” cmd “. Then press [Enter] and you’re ready to go.
- /? The help command contains a list of all commands. You can also enter it after a command to get more information about the command.
- && This allows you to execute several commands at the same time. Enter && between two commands.
- color Use this command to change the colors of the text and background in the command prompt window.
- clip The clip command copies the output of any command to the clipboard.
- doskey / history Once entered, you will see all the commands you used in the current command prompt session.
- taskList tasklist displays a list of applications, services, and the process ID that is currently running on your computer.
- taskkill This command terminates a running task. It’s the equivalent of stopping a process in Task Manager.
- assoc The assoc command displays or modifies the file type associated with a particular file extension.
- driver query The driverquery command displays a list of all installed drivers.
- ipconfig The ipconfig command displays detailed IP information for each network adapter that uses TCP / IP. It can also be used to share and renew IP addresses on systems configured to receive through a DHCP server.
- ping Upon input, an ICMMP Echo Request packet is sent to a specified remote desktop to verify IP-level connectivity.
- netstat The netstat command is used to display all open network connections.
- system info The systeminfo command displays basic Windows configuration information for the local computer or a remote desktop.
- powercfg The powercfg command is used to manage Windows power settings from the command line.
- sFC The sfc command checks and replaces important Windows system files. Depending on the operating system, the sfc command is also called a “System File Checker”.
- chkdsk The chkdsk command , often referred to as a “check disk”, is used to detect and resolve specific hard disk errors.
- regedit This command opens the registry, which you can then edit and change.
- schtasks The schtasks command runs specified programs or commands at specific times. In addition, scheduled tasks can be created, deleted, queried, modified, executed, and stopped.
- del / q / f / s% temp% \ * After entering all temporary files of the current user will be deleted.
- exit This command exits the command prompt.