Javascript required
Skip to content Skip to sidebar Skip to footer

How to Access Command Line in Windows 10

  • You can open Command Prompt by right-clicking the Start icon.
  • Other ways to open Command Prompt include through the Start Menu and desktop search.
  • The most recent versions of Windows 10 have replaced Command Prompt  with "PowerShell," but you can still use Command Prompt.
  • Visit Insider's Tech Reference library for more stories.

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

This list of options is called the Power Users Menu.
William Antonelli/Insider

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.

Windows Search

Command Prompt will appear in the results right away.
William Antonelli/Insider

You can also simply search for Command Prompt using Windows' normal search feature. Click the Start button and type in Command Prompt, and then select it from the list when it appears.

If you right-click Command Prompt and select Run as administrator or click it in the results, you'll open an elevated Command Prompt.

Start Menu

You'll find Command Prompt in the Windows System folder.
William Antonelli/Insider

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.

Open the Personalization section of the Settings app.
William Antonelli/Insider

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.

Turn off the PowerShell option.
William Antonelli/Insider

William Antonelli

Editor & Staff Writer for Tech Reference

William Antonelli is a writer and editor based in New York City. As Editor of Insider's Tech Reference vertical and a founding member of the Reference team, he's helped grow Tech Reference from humble beginnings into a juggernaut that attracts over 20 million visits a month. You can find him on Twitter @DubsRewatcher, or reach him by email at wantonelli@insider.com.

How to Access Command Line in Windows 10

Source: https://www.businessinsider.com/how-to-open-command-prompt#:~:text=The%20quickest%20way%20to%20open,and%20Command%20Prompt%20(Admin).