Command Prompt Commands: A Complete List (CMD Commands)

Basic cmd commands

#1) CD- Change Directory

Cmd command tricks

#1) Command History

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

It’s important to know that the commands in Windows 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.

Cmd network commands

#14) IPCONFIG: IP Configuration

This command is extremely useful when troubleshooting for the network is required. When we type IPCONFIG in the command prompt, we get detailed information like IP address, Subnet Mask, Default Gateway IP, and current domain about the network. These details are important in the troubleshooting process of the router or any other connectivity issue.

Syntax: ipconfig [/allcompartments] [/all] [/renew [<adapter>]] [/release [<adapter>]] [/renew6[<adapter>]] [/release6 [<adapter>]] [/flushdns] [/displaydns] [/registerdns] [/showclassid <adapter>] [/setclassid <adapter> [<classID>]]

Command prompt commands list

Command Prompt Commands.​ 

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

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.

Find & install a suitable monospace font

The Windows command prompt has mostly two choices for the font. It can be either Lucida or Raster. To add custom fonts, one must install a font on a system using web services like FontSquirrel, Google Fonts, and others.

:/>  Настройка камеры в Windows 10

As mentioned earlier, the Command Prompt will recognize only monospace fonts. Additionally, Microsoft also specifies that the custom font you add to the command shell window must be FF_MODERN if it is TrueType font and OEM_CHARSET if it is a font other than the TrueType font.

Frequently asked questions

Q #1) How can we change the name of CMD?

Answer: In order to change the name of CMD, the following steps are to be followed-

Step1: Use the Start icon and click to select Settings.

Step2: Select the “System”.

Step3: Select “Rename PC” which can be seen under the tab “About”.

Step4: Enter the new name and select Next.

Step5: It is important to restart the system so that the settings can be applied. Select Restart Now.

Q #2) Where can we find CMD.exe?

Answer: The following path is to be followed to locate CMD.exe- C:\WindowsSystem32 folder.

Q #3) Why do we use CMD?

How do i get the same font as cmd uses?

With GDI i want to make a program and i want to use the same bitmap as cmd uses.

I want to make a HFONT using CreateFontA or a HBITMAP using CreateBitmap.

I have searched on

And i don’t think they are the best documented sources online, I didn’t understand them so well.

Could i get some help or documentations i would appreciate it.

Thanks 🙂

With GDI i want to make a text editor and i want to use the same bitmap as cmd uses.

Why, is that i want to use all RGB Colors.

How would i get the bitmap / font if i only want to use CreateFontA or CreateBitmap.

Thanks. 🙂

:/>  Как включить и настроить теневое копирование файлов в Windows 10, 8.1, 8, 7

How to change the cmd.exe font?

I think you’re changing the wrong key. Navigate to:

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionConsoleTrueTypeFont

Right click in the blank white space in the right pane and select New -> String Value.

Edit the value to these settings:

Name: 00
Data: Consolas

Open command prompt and you should be able to switch to Consolas font in the properties. A reboot is essential for it to appear properly. I’d also recommend to turn on cleartype to make it look smoother. Consolas looks best with cleartype on.

How to open cmd in windows

Opening Command Prompt in the Windows Operating System is as simple as a few clicks.

Lesser-known, but still worthwhile commands

Not all of the Command Prompt commands are ones you’ll need to use regularly, but that doesn’t mean there aren’t some handy functions among the less common ones. These are some of our favorites that often fly under the radar.

Ipconfig /flushdns — This is an extension of the IPConfig command, and it’s useful when you’re running into bizarre network or connection issues or change your DNS server. This one will often clear up any problems you have. This clears the Windows cache of DNS details, meaning that Windows will start using your preferred option instead.

Assoc — This command is used to view and change file associations, meaning the type of file, like .txt, .doc, etc. Typing “assoc [.ext]” — where ext is the file type in question — will tell you what it stands for, and “.txt” will tell you that it’s a text file.

Note: This is a powerful command and should be used with caution. CommandWindows has a detailed guide on its more advanced functions.

:/>  Инструмент командной строки для отображения конфигурации сети [Примеры]

Cipher — Cipher can be used to view and alter encryption information for your system’s files and folders. Depending on the additional parameters applied, you can have it encrypt files to protect them from prying eyes, create brand new encryption keys, and search for existing encrypted files. For the full list of parameters, Microsoft’s breakdown is comprehensive.

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 for Windows 8, Windows 7, Windows XP, and DOS Commands.

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

What is the use of cmd? – answers

🔧 your setup

  • Which font are you using (e.g. Anonymice Powerline Nerd Font Complete.ttf)?

I haven’t tried them all but the ones I’m trying to get working are: Hack, SauceCodePro, Hasklug, Fura Code. In every case, I installed the “Windows Compatible Mono” versions of the fonts.

  • Which terminal emulator are you using (e.g. iterm2, urxvt, gnome, konsole)?

Standard Windows cmd.exe or PowerShell.exe or any of the WSL shells (ubuntu).

  • Are you using OS X, Linux or Windows? And which specific version or distribution?

Windows 10, 1803

Оставьте комментарий