How to open command prompt
How to open command prompt
How to open Command Prompt in Windows 10
Twitter LinkedIn icon The word «in».
LinkedIn Fliboard icon A stylized letter F.
Flipboard Facebook Icon The letter F.
Email Link icon An image of a chain link. It symobilizes a website link url.
If you’ve ever done any sort of coding, you’re familiar with the Command Prompt. The Command Prompt is an app installed on all Windows computers that lets you manage the computer using text commands.
But unlike other apps, the Command Prompt isn’t always easy to find. Here’s how to open Command Prompt on your PC, no matter which version of Windows 10 you have.
How to open Command Prompt in Windows 10
There are three main ways to access Command Prompt. Using the Power User Menu shortcut is the fastest method for most people.
Power User Menu
The quickest way to open a Command Prompt window is through the Power User Menu, which you can access by right-clicking the Windows icon in the bottom-left corner of your screen, or with the keyboard shortcut Windows Key + X.
It’ll appear in the menu twice: Command Prompt and Command Prompt (Admin). The second option will open an «elevated» Command Prompt, which gives you administrator privileges, which are required for some commands. In nearly all cases, it’s better to use the elevated Command Prompt — it can do everything that the normal Command Prompt can and more.
Note: In newer versions of Windows, Command Prompt has been replaced with Windows PowerShell. If you still want access to Command Prompt, check out our step-by-step instructions below.
Windows Search
If you right-click Command Prompt and select Run as administrator or click it in the results, you’ll open an elevated Command Prompt.
Quick tip: The Command Prompt is sometimes referred to as «cmd prompt,» or simply «cmd.» When searching for Command Prompt, you can also just search for «cmd.»
Start Menu
You can also open Command Prompt by navigating through the Start menu.
To open Command Prompt through the Start menu, click the Windows icon and then scroll down to find the Windows System folder. Open the folder and click or right-click Command Prompt to open it.
How to switch from PowerShell to Command Prompt
Windows PowerShell is a newer program that’s similar to Command Prompt. And in some versions of Windows 10, it replaces Command Prompt in the menus you’d usually use to open it.
There’s nothing wrong with PowerShell — it can do pretty much anything that the Command Prompt can do — but if you’re used to using Command Prompt, it’s easy to switch back.
1. Press the Windows Key + I to open the Settings app, and then select Personalization.
2. Click the Taskbar option in the left sidebar.
3. On the page that appears, head down to the Replace Command Prompt with Windows PowerShell option and click its slider so it turns Off.
Opening Command Prompt in Windows: the most popular options
Command Prompt is used to enter CMD commands and run text-based programs in Windows. Some CMD commands have been around since MS-DOS. Until Windows ME, Windows was a graphical user interface on top of a command line-based operating system. In later versions, the GUI was integrated and Command Prompt, or cmd.exe, became an integral part. It runs in a window where you can enter text-based commands.
We’ll show you different ways of opening Command Prompt in the Microsoft operating system (with a focus on the current version, Windows 10).
How to open Command Prompt from the Start menu
The most common way to open Command Prompt, as with all Windows programs, is from the Start menu. Within this menu, you’ll find Command Prompt in the Windows system sub-menu. Instead of tediously scrolling down, click one of the letters that divide the Start menu into alphabetical groups, for example “A” at the top. All letters are then displayed. Click “W” and the Start menu will automatically scroll down.

The Command Prompt can be found in the “Windows system” section of the Start menu.
Pinning the Command Prompt to the tile area of the Start menu
To avoid scrolling, you can pin the Command Prompt to the tile area of the Start menu. To do this, right-click Command Prompt in the “Windows system” sub-menu. In the context menu, select “Pin to Start.” Command Prompt will now appear as a new tile in the Start menu and can be launched with a single click from here. Hold down the mouse button and drag the tile to the desired location. The tile area of the Start menu can be freely arranged.
Instead of using the context menu, you can also drag and drop Command Prompt directly from the “Windows system” sub-menu to the tile area of the Start menu. The menu item under “Windows system” is retained.
How to open and run Command Prompt with administrator privileges
By default, the Command Prompt and all programs running from it have the same user permissions as the logged-in user. However, for some critical system tasks, administrator privileges are required to run command line instructions.
Right-click Command Prompt in the Start menu and select the “Run as administrator” option from the “More” context menu. Choose “Yes” to confirm the option in the User Account Control pop-up window. A Command Prompt window appears with “Administrator” in the title bar. Any programs launched this way will automatically have administrator permissions. Another difference between the administrator command line and the standard Command Prompt is that the administrator version runs from .\WINDOWS\system32 instead of the user’s personal directory.

Command Prompt can be found in the “Windows system” folder of the Start menu.
Pinning a Command Prompt shortcut to the taskbar
If you use Command Prompt frequently, you can open it from an icon on the taskbar. This is much faster than opening it via the Start menu. Right-click Command Prompt in the Start menu and select the “Pin to Taskbar” option from the “More” context menu. You can now open Command Prompt at any time by clicking the icon in the taskbar. You can run Command Prompt as an administrator by holding down the Shift and Ctrl keys and clicking the Command Prompt icon.
Opening Command Prompt from the Quick Link menu
The Windows 10 Quick Link menu, which you open by right-clicking the Windows Start logo or by using the keyboard shortcut Win + X, contains the options “Windows PowerShell” and “Windows PowerShell (Administrator).” Windows PowerShell is an enhanced Command Prompt with added features. However, many users find it confusing, and sometimes it behaves unpredictably when running text-based programs.
You can replace the Windows PowerShell menu items with Command Prompt. To do this, go to Personalization-> Taskbar in the Windows Settings app and disable the following option: “Replace Command Prompt with Windows PowerShell in the menu when I right-click the start button or press Windows logo key + X.”

You can modify your settings to replace PowerShell with Command Prompt in the Quick Link menu.
Using “Run” to open Command Prompt
The Run dialog box, which you can open using the keyboard shortcut Win + R, allows you to open any Windows program by entering its name. Enter “cmd” and click “OK” to open Command Prompt. Hold down the Shift and Ctrl keys and click the “OK” button to run Command Prompt as an administrator. You will need to confirm the prompt from the User Account Control.
Opening Command Prompt from the search box
You can also launch programs from the search box in the taskbar. Simply type “cmd” in the search box. Command Prompt will appear as the best match in the search results. Launch it by pressing the Enter key. To the right of the search results, you’ll find a button to run the Command Prompt as an administrator.

You can also run Command Prompt from the search box in the taskbar.
How to open Command Prompt from File Explorer
If you have an Explorer window open, you can type “cmd” in the line at the top that contains the current directory name. Command Prompt then opens with the current directory as the starting point.
Creating a Command Prompt shortcut on the desktop
A desktop icon is another way to quickly access Command Prompt. This is useful if you use Command Prompt frequently. To create a desktop shortcut in Windows 10, right-click Command Prompt in the Start menu and select the “Open file location” option from the “More” context menu. A File Explorer window with important system programs will open. Right-click Command Prompt, select “Send to,” and then “Desktop (create shortcut).”
Double-click the icon to open Command Prompt. You can right-click to run this program as an administrator, just as you would do with any other program.

You can use the “Open file location” shortcut to place Command Prompt on the desktop.
Creating a keyboard shortcut for Command Prompt
A keyboard shortcut is a very quick way to open Command Prompt. The shortcut you choose should not already be assigned by Windows. For example, you can use Ctrl + Shift + E. To do this, right-click the newly created desktop shortcut and select Properties from the context menu.
On the “Shortcut” tab, click the “Shortcut key” box and then press the key combination you want to use.
Save your changes by choosing OK. You can then use the selected key combination to open Command Prompt at any time, as long as any active program running in the foreground doesn’t already use the same keyboard shortcut for another function.

A keyboard shortcut for opening Command Prompt can be defined in the properties of the desktop shortcut.
You can close Command Prompt like any other Windows program by clicking the X icon in the upper right corner of the window.

CMD commands for the Windows command prompt
There are more than 200 CMD commands available with Windows. The command prompt can be used to control large parts of the operating system, computer, or drives. You can also use the Windows “command prompt” commands to organize your files or run network tasks. To do this, though, you have to know the right commands. Here we explain how to use CMD commands and which functions they have. Our article.

Shutdown via CMD: An overview of windows shutdown commands
In Windows, you can adapt frequently required shutdown routines to your individual needs in many different ways. For this, Windows provides an appropriate tool in the command line, which is also referred to as the prompt – CMD or cmd.exe. We introduce shutdowns via CMD, which can handle efficient, simple, but also more complex shutdown routines.

Getting started with cURL in Windows
cURL is integrated into Windows 10 and is a complex web development tool. It enables direct communication with websites via the Windows command prompt window without having to use an FTP client or browser. In this article, we will provide you with practical examples to help you learn the basics of using cURL for Windows.
How to Open and Use Command Prompt on Windows 7 [Full Guide]
Learn how to use Command Prompt on Windows 7 to repair different issues of PC and other ways to manage hard drives.

By Lucas
/ Last Updated July 20, 2022
Navigation
What is Command Prompt on Windows 7?
Command Prompt (CMD) is a command-line interpreter available on Windows 7 and most Windows operating systems. It allows you to perform administrative tasks and troubleshoot certain Window issues via entering commands. Command Prompt is widely used by users, especially computer geeks and experts.

This utility enables you to perform multiple operations, such as create partition, format partition, and repair PC boot issues. Next, In terms of the 3 aspects, we are going to teach you how to open Command Prompt utility, and how to use it on windows 7.
How to open Command Prompt on Windows 7?
There are several ways to open the Command Prompt window, here we provide 3 common methods to open it.
1. Open Command Prompt through the Search box
1. Click the “Start” button on the desktop.
2. Type “cmd” in the search box.
3. In the search outcome, right-click on the cmd, and choose “Run as administrator”.

Then you will see the Command Prompt window opened. Run CMD as administrator in Windows 7 can authorize you rights to change more settings to fix your PC issues.
2. Open Command Prompt from Run box
There is also another faster way to access it by using shortcut keys:
1. Press “Win + R” on the keyboard to open the Run box,
2. And type “cmd” in the Run box and press Enter.
3. Get to Command Prompt before Startup
There are lots of ways to access Command Prompt after booting up your PC. But sometimes, if you encounter a boot issue, and your PC can’t be started, you still can use an installation or recovery CD to get to Command Prompt in Advanced Startup Options.
1. Insert an installation or CD, and boot your PC from the CD
2. When you see installing window, choose your language and time, and click “Next”
3. Click “Repair your computer” at the right bottom of the installing window.
4. Choose “Command Prompt” and click “restart”.

вњЌNote:
1. To boot from an installation CD, you need to press a functional Key (F2, F4, F5, F7, F8) to enter BIOS setup, and choose “Change Boot Order”, then set the CD as the boot device.
2. If you don’t have an installation or recovery CD, tap “F8” immediately after starting your PC, and enter “Advanced Boot Option” and choose “Safe Mode with Command Prompt”.
How to use Command Prompt on Windows 7?
To use Command Prompt, you need to input commands in Command Prompt, and it would perform tasks based on the entered commands. Here are some commands for Command Prompt on Windows 7.
вњЌ Warning: Commands for different tasks can be a little different. So please pay attention to the spellings of commands, it has to be valid and correct. Changing a word can lead to failure or turn to another task.
Create a partition in Windows 7
Open Command Prompt, and type the following commands and execute them one by one by pressing Enter, you can create a partition in Windows 7
в—Џ diskpart
в—Џ list disk (to list the disk on your PC)
в—Џ select disk n (n means the disk where the newly created partition is. Ensure there is unallocated space it)
в—Џ create partition primary size=61440(this command will create a new partition on the selected disk, and you can change the size as you want)
в—Џ assign letter=H (give an unused letter to the new partition)
вњЌNote: Creating a partition with Command Prompt has some limitations:
1. Creating primary/extended/logical partitions is only allowed on basic disks.
2. Except for Windows 10 1703 and later versions, Command Prompt cannot create multiple partitions.
Format partition in Windows 7
Command Prompt can’t format the system partition. But you can use a third-party tool to format the system or boot partition.
в—Џ list disk
в—Џ select disk n
в—Џ clean (This command will delete the data on the selected disk)
в—Џ create partition primary
в—Џ format fs=fat32 quick (this command will format the selected disk to the FAT32 file system, you can also change it with other file systems)
в—Џ exit

Open safe mode
Safe mode is a diagnostic mode in Windows 10/8/7. If your computer and disk encounter some issues, especially, some boot problems like your computer prompting you “ your PC ran into a problem ”, safe mode can help you to deal with most of them.
To open safe mode, you just input this command when you get into Command Prompt:
в—Џ bcdedit/setsafeboot minimal
And then restart your PC, and it will enter safe mode.
Fix boot repair via Command Prompt
Firstly, insert an installation CD to your PC, and enter BIOS to boot from it. And tap “F8” to open Command Prompt. And input the following commands to repair MBR:
в—Џ bootrec/fixmbr
в—Џ bootrec/fixboot
в—Џ bootrec/rebuildbcd

Alternative to Command Prompt to manage your disk and partition
You can download the Demo version and refer to the following content to see how to use it.
Create a partition
With AOMEI Partition Assistant, you can not only create a partition on unallocated space but also directly create a partition from another existing partition.
Step 1. Install and open this software, right-click on a partition with enough free space or unallocated space.

Step 2. Resize the new partition, and you can click “Advance” to create a logical or primary partition, and click “OK”.

Step 3. And then click “Apply” > “Proceed” to start the process.

вњЌNote: You can preview an operation on the main interface, but it won’t start until clicking “Apply” > “Proceed”.
Format large partition to FAT32
Many users want to format a partition to a FAT32 file system, which has great compatibility. It works with Windows OS and Mac systems, and many other electronic devices. However, Command Prompt can’t format a partition larger than 32GB to FAT32 in Windows 7, including other versions of Windows OS.
Luckily, AOMEI Partition Assistant can help you to format a large partition to FAT32, NTFS, exFAT, Ext2/3/4. Here are the steps.
Step 1. In the AOMEI Partition Assistant, right-click the partition you want to format. And click “Format Partition”.

Step 2. It will pop up a small window, choose “FAT32” in the File System box, and you can change the cluster size and set a partition label. And then click “OK”.

Step 3. In the main console and you can preview the operation outcome. Please click “Apply” >“Proceed” after confirmation.

Fix Windows system boot issue
“Create bootable media” provided by AOMEI Partition Assistant allows you to fix MBR without installation CD when you encounter boot issues. Let’s see the steps in detail.
вњЌPreparations:
an empty USB or CD
Another working computer with AOMEI Partition Assistant installed
Back up the USB or CD if there are important data on it because it would be formatted.
Step 1. Insert the USB or CD into the working PC, and launch AOMEI Partition Assistant. Click “Make Bootable Media” in the left panel, and click “Next” to confirm the operation.

Step 2. If you inserted a CD, choose “Burn to CD/DVD”. And if you inserted a USB, select “USB Boot Device”. And click “Proceed”.

Step 3. The USB flash drive needs to be formatted. Ensure you have had a backup if there is important data on it, and click “Yes”.

Step 4. When the bootable USB is created, the AOMEI Partition Assistant would be installed on this USB, you can insert it to the PC that got a boot issue. And set it as the boot device:
1. Power on your computer, and press the function key to enter BIOS setup
2. Choose “Change Boot Device”
3. Select the bootable USB or CD as the boot device, and press “F10” to save the change.

Step 5. When you see the interface of AOMEI Partition Assistant, right-click the system disk, and choose “Rebuild MBR”.

Step 6. Choose an MBR type according to your system.

Step 7. At last, click “Apply” > “Proceed” to start building MBR”.

In addition, AOMEI Partition Assistant Pro also has the following notable features when compared with Command Prompt on Windows 7:
в—Џ Merge partition
в—Џ Copy partition
в—Џ Split partition
в—Џ Convert the disk to MBR or GPT without removing all partitions
Further tip: Some brilliant Command Prompt on Windows 7
Some brilliant tracks are known by a few people. They can be helpful or interesting when you use Command Prompt.
1. +c for aborting a command
You can press “Ctrl + c” to stop a command that it has executed. But it can’t stop all commands, such as the format with the command line can be canceled, so you still need to type command with caution.
2. Get help with a command
You can get help from typing “?” right after any command if you don’t know what does a command means.
3. Create a WIFI hotspot
Firstly, you need to go “Control Panel” > “Network and Sharing” > “Change adapter settings”. Open the Properties of the connection you are using. Under the sharing tab and check “Allow other network users to connect through this computer’s internet connection.”
Then type the Commands on the Command Prompt:
в—Џ netsh wlan set hostednetwork mode=allow ssid=hotspot name key=password
в—Џ netsh wlan start hostednetwork
4. Show your WIFI password
Forgotten your WIFI password when visitors asked you for it? You can open Command Prompt and type “netsh wlan show profile XXX key=clear” on it to see it. XXX means your WIFI name.
5. View command history
Using the command “doskey /history”, you can view commands history. It can be very helpful if you need to execute a command you used, but you forget it.
6. See all drivers on your PC
If you need to know the information about the drivers on your computer, you can type “Driverquery” on Command Prompt.
7. Watch Star Wars movie
Yes, you can watch Star Wars on the Command Prompt. Just type “telnet towel.blinkenlights.nl” on Command Prompt, and get popcorn to enjoy it.
Conclusion
In a word, Command Prompt on Windows 7/8/10/11 is a good built-in tool for users to manage disk. But as for most people and those who need lots of advanced features, the versatile tool-AOMEI Partition Assistant is more convenient and practical.
How to open command prompt
Добрый день уважаемые читатели блога pyatilistnik.org, сегодня хочу поговорить на тему Как открыть командную строку Windows / 10 способов открыть командную строку. Что же такое cmd, вот что нам говорит Википедия.
Давай те же рассмотрим как же его открыть.
Как открыть командную строку от администратора
Ниже мы рассмотрим, десять мне известных способов, как открыть командную строку от администратора.
1 способ запуска командной строки. До Windows 8 (если только не стоит возврат кнопки пуск)
Для того, чтобы открыть командную строку, нажмите пуск и в поле поиска введите cmd, сверху появится значок программы для запуска

Как открыть командную строку Windows-02
или введите командная строка, эффект будет тот же

Как открыть командную строку Windows-03
Если нужно открыть cmd от имени Администратора, то это делается правой кнопкой и выбор пункта

Как открыть командную строку Windows-03-1
В Windows 10 поиск выглядит вот таким образом, вы нажимаете на значок с изображением лупы и пишите cmd. Сверху у вас появится результат поиска.

2 способ это с помощью через Выполнить
Нажимаете две волшебные кнопки win+R

Откроется окно Выполнить в нем вводите cmd и нажимаете Enter

Как открыть командную строку Windows-04
3 Способ открытия командной строки, это через папку Windows
Открываете Мой компьютер и идете по пути C:\Windows\System32 и находите там файл cmd.exe. Способ не самый быстрый, но с ним справится каждый. Суть простая, командная строка, как и все утилиты, имеет свой исполняющий файл. Находим его и запускаем, не забываем про правый клик и контекстное меню с режимом администратора.

Как открыть командную строку Windows-05
4 Способ вызова cmd, это создать через ярлык
В данном методе мы с вами создадим для поставленной задачи ярлык Windows. Щелкаем правым кликом Создать-Ярлык

Как открыть командную строку Windows-06
Указываем расположение файла, пишем тут cmd

Как открыть командную строку Windows-07
Как назвать ярлык это уже ваше дело, я назову его тоже cmd, Готово

Как открыть командную строку Windows-08
И видим, что создался ярлык командной строки

Как открыть командную строку Windows-09
5 Способ запуска командной строки, через диспетчер задач
Открываем диспетчер задач правым кликом по нижней части экрана

Как открыть командную строку Windows-10
Идем в меню Файл-Запустить новую задачу

Как открыть командную строку Windows-11
Пишем в задаче cmd и нажимаем ОК и включаем командную строку.

Как открыть командную строку Windows-12
6 Способ запуска командной строки, для тех у кого windows 8 и выше
Заходим в пуск и справа вверху нажимаем лупу либо лупу можно вызвать из бокового меню на рабочем столе

Как открыть командную строку Windows-13
Вводим cmd и в результатах поиска видим нужный нам ярлык.

Так же в пуске можно нажать стрелку вниз

Откроется структура меню пуск в которой пролистывая вправо вы найдете командную строку

Как открыть командную строку Windows-16
7 Способ запуска командной строки, для тех у кого windows 8.1 и выше
Кликаем правой кнопкой мыши по пуску и выбираем Командная строка

Как открыть командную строку Windows-17
8 способ через стандартные программы в пуске до windows 8
Открываем пуск все программы

Как открыть командную строку Windows-18
Идем в Служебные-Командная строка

Как открыть командную строку Windows-19
9 Способ с помощью меню проводника в Windows 8, 8.1 и 10
Открываем любую папку и слева нажимаем меню Файл

Как открыть командную строку Windows-20
и выбираем открыть командную строку, вам сразу предложат два варианта простое открытие или от имени Администратора.

Как открыть командную строку Windows-21
Хитрость заключается в том, что в командной строке будет открыт текущий каталог, а не папка пользователя.
10 способ через кнопку Shift
Выберите любую папку зажмите Shift и правым кликом мышки и из контекстного меню выберите Открыть окно команд

Как открыть командную строку Windows-22
Запуск с помощью голосовых помощников

Вот мы с вами разобрали как открыть командную строку Windows, какой из способов подходит вам, я не знаю знаю лишь что выбор есть.
How to Open Command Prompt in Windows 10
If you want to know how to open Command Prompt in Windows, there are several methods that you can utilize. Read up on the simple instructions below. But first, let’s take a look at what the Command Prompt is and what it does.
What is Command Prompt?
Command Prompt is a program that you can use to execute commands on a Windows computer. This tool is handy for troubleshooting or for setting automated tasks in the Windows operating system.
Command Prompt can help you find your IP address, perform system repairs, and other advanced admin functions. If you’re familiar with macOS, the Command Prompt is similar to the Terminal App.
Warning: Making changes in Command Prompt can damage your computer. If you don’t know what you’re doing, we recommend contacting a tech professional before you do anything in Command Prompt.

There are several ways of opening Command Prompt, depending on which operating system you are running.
Open Command Prompt With the Run Window
Every recent version of Windows has come with the Run window, which can be used to open Command Prompt. Here’s how:
Open Command Prompt in Applications
Another way to open Command Prompt in Windows 10 is by going to the Start menu folder. Here are the steps:

How to Open Command Prompt in Windows 8.1
If you are running Windows 8.1, you can open the Command Prompt by following the steps below:

Use the Search Button

Run Command Prompt as Administrator
If you wish to use the tool with administrative privileges, follow the steps below on how to run Command Prompt as administrator:

Now that you know how to open Command Prompt, check out our article on the most useful Command Prompt commands here.
1. To boot from an installation CD, you need to press a functional Key (F2, F4, F5, F7, F8) to enter BIOS setup, and choose “Change Boot Order”, then set the CD as the boot device.
2. If you don’t have an installation or recovery CD, tap “F8” immediately after starting your PC, and enter “Advanced Boot Option” and choose “Safe Mode with Command Prompt”.
в—Џ list disk (to list the disk on your PC)
в—Џ select disk n (n means the disk where the newly created partition is. Ensure there is unallocated space it)
в—Џ create partition primary size=61440(this command will create a new partition on the selected disk, and you can change the size as you want)
в—Џ assign letter=H (give an unused letter to the new partition)
в—Џ select disk n
в—Џ clean (This command will delete the data on the selected disk)
в—Џ create partition primary
в—Џ format fs=fat32 quick (this command will format the selected disk to the FAT32 file system, you can also change it with other file systems)
в—Џ exit
в—Џ bootrec/fixboot
в—Џ bootrec/rebuildbcd
в—Џ Copy partition
в—Џ Split partition
в—Џ Convert the disk to MBR or GPT without removing all partitions
в—Џ netsh wlan start hostednetwork