CMD commands, which can be used on computers with Windows operating system, allow you to access all information about that computer. CMD commands used to provide access to all programs used on the computer, to detect existing errors and to fix them allow you to take action much faster.

What is CMD, What are CMD Commands? In this article, where we will look for answers to the questions, what is CMD, what are the CMD codes or more commonly used CMD commands, what are they useful for. If you wish , let’s start our content by answering the question of what is CMD expansion.

CMD is a panel that allows us to briefly use all the features of the Windows operating system thanks to short commands. Thanks to CMD commands, we can do long and tedious tasks in a short and easy way. Of course we need to know the commands first. We have compiled the answers to questions such as what is CMD, what are CMD commands, how to use these commands.

Windows, one of today’s most used operating systems, has been one of our biggest helpers for years. But have you noticed that this operating system has a language and can talk to you?

Let’s say for those who don’t notice, we can call this language CMD commands in a way . Of course, we need to know these commands so that we can talk to our operating system. Otherwise, neither you nor Windows can understand your language.

What are CMD commands?

This program, which stands for Commands, comes embedded in Windows operating systems. This program, which is not used by non-programmers and those who use computers for daily work and playing games, serves as a bridge between Windows and us, so to speak.

CMD, where we specify what we want to do with certain codes, ensures that these requests are fulfilled by forwarding them to Windows. These operations, which are realized thanks to the codes we call CMD commands, make the work of us Windows operating system users much easier.

What is CMD?

CMD is short for command, which means command in English. The command prompt, or CMD as we will use it here, is implemented through the command line interpreter of Windows operating systems. It is a native application used only in the Windows operating system. It allows you to perform actions using certain commands.

The command line interface allows users to interact with the operating system and give commands for the operation they want to do.

Windows is an operating system that uses the Win32 console as its command line interface. The user can open the interface with the CMD run command or by going to the original location C:\Windows\system32\cmd.exe.

What is CMD?

CMD is a code writing console that works with shell programming logic. Shell programming is a form of programming that processes commands for system administration and control mechanisms that make these commands work.

In the most general form, we can answer the question of what is CMD as a coding console. This coding console makes it possible to access all information about the computer operating system. This coding console, which we call CMD in short, is accessed in two different ways.

Command Prompt is a command line interpreter application included with most Windows operating systems. CMD Command Prompt is officially called Windows Command Processor, but sometimes it is also called command shell or cmd prompt or even filename cmd.exe.

Command Prompt is a Windows program that emulates most of the command line capabilities found in MS-DOS, but this is not MS-DOS.

What Do CMD Commands Do?

With the command shell, you can interact directly with the operating system. Think of the command prompt as an interpreter that accepts commands or User’s input and translates them into machine language. These commands are predefined and perform a specific task. These commands can be combined to perform a number of tasks. Also, these commands don’t need to be entered manually, and it’s easy to take scheduled server backup, delete junk files, etc. can be written to a batch file to automate some manual tasks such as

CMD commands are very useful during network troubleshooting or for daily work. These commands can be called from many programming languages, such as Java, which allows the programmer to perform the task directly through the command prompt; otherwise several lines of code essentially have to be written to accomplish the same task.

From this point of view, CMD commands can be thought of as shortcut formulas used to access the Windows operating system. It is sufficient to write the CMD codes of the desired operation in the command console.

CMD commands are MS-Dos based scripting console that functions as a command line on computers using Windows operating system. By logging in in this area, you can access a lot of information, get error reports, and learn small-scale codes and their equivalents, with the help of many existing codes.

How to Use CMD?

Follow the steps below to access the command prompt regardless of which version you are using. One of the fastest ways to access the command prompt is to use the Run Window. Press Windows key + R on your keyboard to open the Run window. Once you do that, that run window will open and then type cmd and hit enter. As soon as you hit Enter (OK), the command prompt window will open.

To run the CMD command prompt in administrator mode, type CMD in the search bar on the taskbar and then right-click on CMD. You will see the Run as administrator option, click enter (ok). After these actions, command prompt will open in administrator mode.

Things to Consider When Using CMD Commands

Commands must be entered exactly in the CMD Command Prompt. Incorrect syntax or misspelling can cause the command to fail or worse; may execute the wrong command or the right command incorrectly. A comfort level is recommended with the read command syntax.

For example, running the dir command shows a list of files and folders in any specific location on the computer, but does nothing actually. However, when you change just a few letters, the given command becomes a del command, which means how to delete files from the CMD Command Prompt.

The syntax is so important that for some commands, especially the delete command, adding a single space can mean deleting completely different data.

Here is an example where the space in the command splits the line into two parts, basically creating two commands where files in the root folder (files) are deleted instead of the files in the subfolder (music):

CMD Command: del C:\files\ music

The correct way to run this command to remove files from the music folder is to remove the space so that the whole command lines up correctly.

Don’t let that scare you away from using Command Prompt commands, but definitely let it make you cautious.

What Are CMD Commands?

Command Prompt then executes the command as it is entered and performs the task or function it was designed to perform in Windows.

For example, running the following CMD command process in your Downloads folder will remove all MP3s in that folder. CMD command: del *.mp3

Command Prompt has a large number of commands, but their availability differs from operating system to operating system.

Following these lists of commands will prove to be a great number of commands you can use in Command Prompt, but not all are used as often as others.

Below are some of the more common Command Prompt commands used in various situations: chkdsk, copy, ftp, del, format, ping, attrib, net, dir, help, and shutdown.

Frequently Used CMD Commands

clipbrd.exeboard processor
mspaint.exePaint program
explorer.exeWindows Explorer
mmsys.cplSound settings
powercfg.cplPower options
timedate.cplDate adjustment window
appwiz.cplAdd remove program
cleanmgr.exeDisk cleaner
taskmgr.exeTask Manager
odbcad32.exeDatabase processing
regedit.exeWindows Registry Editor program
rasphone.exeNetwork connection
powercfg.cplPower options
explorer.exeWindows Explorer
sndvol32.exeSound settings
nusrmgr.cpluser accounts
Code: sigverif.exesignature checker
shrpubw.exeNetwork share information
rasphone.exeaccess book
program.exeDesktop manager
perfmon.exesystem monitor
packager.exeobject wrapper
dxdiag.exeDirectX version
drwtsn32.exeproblem recognition tool
verifier.exedriver monitor
msconfig.exeSystem settings
spider.exeCard game
osk.exeScreen keyboard
ntbackup.exeBackup wizard
sysedit.exeSystem administrator
sndrec32.exevoice recorder
wupdmgr.exeWindows update window

What do CMD commands do?

As we mentioned above, CMD commands have only one task, to enable you to communicate with Windows. In addition, another nice feature of these commands is that they can work in DOS. 

So let’s say there is a problem with your operating system and your computer won’t boot. You cannot format it because you will lose your important files. That’s where CMD commands come into play. 

Because, thanks to these commands, you can learn the problem of your operating system and fix that problem so that your computer can be turned on again without formatting. Now you can say how to open CMD without turning on the computer. The answer is simple; By booting your computer in safe mode, you will turn on your computer by ignoring the errors of Windows. Since the CMD screen also works in safe mode, you can learn the problem of your operating system thanks to the commands.

How to open CMD?

You have read the codes we will give below, you have learned which code does what, but if you think where to write these codes, let’s answer it immediately;

  • open the start menu,
  • Type ‘Run’ in the search field and search,
  • Type ‘cmd’ into the box on the run screen and search

CMD commands:

Simple commands:

  • calc.exe = Used to open the calculator.
  • diskmgmt.msc = Used to open disk management.
  • devmgmt.msc = Used to open device manager.
  • dfrg.msc = Used to open defragmenter.
  • eudcedit.exe = Used to produce characters.
  • appwiz.cpl = It opens the add and remove programs screen.
  • access.cpl = Used to open accessible options.
  • accwiz.exe = Opens the available options wizard.
  • desk.cpl = Used to open display properties.
  • eventvwr.exe = Opens event viewer.
  • freecell.exe = Used to open the playing card game.
  • fsmgmt.msc = Opens the shared folder menu.
  • hdwwiz.cpl = Opens the add hardware wizard.
  • iexpress.exe = It is used to open the Setup application.
  • inetcpl.cpl = Used to open Internet properties.
  • intl.cpl = Opens the region and language settings.
  • joy.cpl = Used to open game controls.
  • magnify.exe = Used to open magnifying glass.
  • main.cpl = Used to open mouse properties.
  • mmsys.cpl = It opens the sound settings.
  • mspaint.exe = Used to open Paint.
  • narrator.exe = Used to open the English screen reader.
  • ntbackup.exe = Opens the backup wizard.
  • nusrmgr.cpl = Used to open user accounts.
  • osk.exe = Used to open the on-screen keyboard.
  • gpedit.msc = Opens the local group screen.
  • msconfig.exe = Used to open the system configuration screen.
  • verifier.exe = Used to open the driver verification screen.
  • drwtsn32.exe = Used to open the problem diagnosis tool.
  • dxdiag.exe = Used to open DirectX screen.
  • mobsync.exe = It provides general synchronization.
  • mplay32.exe = Opens the basic version of Media Player.
  • odbcad32.exe = It opens the database processing screen.
  • packager.exe = Used to open object packager.
  • progman.exe = Used to open the desktop manager.
  • rasphone.exe = Used to open the access book.
  • shrpubw.exe = Used to open internet sharing information.
  • syskey.exe = Used to open the password database screen.
  • sndrec32.exe = Used to open the audio recording screen.
  • winchat.exe = Used to open the Windows messaging application.
  • write.exe = Used to open WordPad.
  • wupdmgr.exe = Used to open the Windows update screen.
  • explorer.exe = Used to open Windows Explorer.
  • powercfg.cpi = Used to open the computer’s power options.
  • rasphone.exe = Used to open the network connection screen.
  • regedit32.exe = Used to open the Windows Registry Editor screen.
  • sndvol32.exe = Used to open the sound recording setup screen.
  • taskmgr.exe = Used to open task manager.
  • compmgmt.msc = Used to open computer management.
  • clipbrd.exe = Used to open the clipboard processor.
  • cleanmgr.exe = Used to open the disk cleaner screen.
  • ciadv.msc = Used to open the directory manager.
  • charmap.exe = Used to set characters.
  • desk.cpl = Used to open display settings.
  • hdwwiz.cpl = Used to open device manager.
  • inetcpl.cpl = Used to open the Internet control screen.
  • wuaucpl.cpl = It opens the automatic update screen.

Commands for opening files:

  • comexp.msc = Used to open component services.
  • certmgr.msc = Used to open the Certificates screen.
  • eventvwr.msc = Used to open the event viewer screen.
  • services.msc = Used to open the Services screen.
  • cladv.msc = Used to open the indexing services screen.
  • dfrg.msc = Used to open the defragmenter feature screen.
  • secpol.msc = Used to open the local security screen.
  • perfom.msc = Used to open the performance screen.

Commands for quick access to system tools:

  • narrator.exe = Used to open the voice reader.
  • logon.exe = Used to restart Windows.
  • eudcedit.exe = Uses the font generator.
  • nslookup.exe = It helps to find the IP address of whichever network is connected.
  • C:\\WINDOWS\\system32\\tsshutdn.exe = Used to shut down the computer in 60 seconds.
  • C:\\WINDOWS\\system32\\webfldrs = Used to establish dialogs on the computer.
  • C:\\WINDOWS\\system32\\attrib.exe = .dll, .exe etc. on the computer. displays files.

Commands to list files:

  • netstat -n = Displays addresses and port numbers numerically.
  • netstat -an = Shows the sender’s IP address when receiving files.
  • netstat -a = Used to show all connections.
  • netstat -b = Used to show the executable files associated with each connection.
  • netstat -e = Used to display Ethernet statistics.
  • netstat -o = Used to show the process ID with each connection.
  • netstat -p = Used to show the connections of the protocols.
  • netstat -r = Used to show the routing table.
  • netstat -s = Used to show statistics for protocols.
  • winver  = Shows the Windows version information.
  • ing ip = Used to measure the connection by pinging other computers connected to the same IP.
  • pathping = It is used to check the connection speed between the modem and the computer.
  • ipconfig = Used to show the IP address of the network the computer is connected to.
  • ipconfig /all = Shows the IP address and all other statements on the network the computer is connected to.
  • ipconfig /all >webtekno.txt = Writes all IP information to a text file named webtekno.txt.
  • ipconfig /registerdns = Used to register the computer’s name and IP address in DNS.
  • ipconfig /renew = It is used to renew the IP address of the network that the computer is connected to.

Technical commands:

  • rmdir = Deletes the existing or completely empty file.
  • repair-bde = Repairs a corrupted or forgotten password using BitLocker.
  • sfc = Scans or replaces important Windows files.
  • cipher/w:c = Deletes files that cannot be deleted from the drive.
  • driverquery = Opens the driver list to find the incorrectly installed driver.
  • shutdown /r/o = Used to open Advanced Startup Settings after rebooting the computer
  • shutdown -l = Used to log off the current user.
  • shutdown -f = Used to close currently open applications.
  • shutdown -s = Used to shut down the computer after 30 seconds.
  • shutdown = Used to shut down the computer.
  • powercfg/a = Used to show how much power the computer is saving.