Open command prompt

Open command prompt DEFAULT

If you need to run commands like , , and in Windows, you’ll need to open the Command Prompt program.

Turns out that there are a bunch of ways to do that. We’ll cover some of the most common ways to open Command Prompt in this article.

Note: While this article was written for Windows 10, some methods should be similar for earlier versions of Windows.

How to open Command Prompt from the Windows Start Menu

First, click the Start Menu button in the lower-left corner to open the start menu.

Scroll down to “Windows System” and click that to open a dropdown of different Windows programs. Then click “Command Prompt”:

How to open Command Prompt with the search bar

One of the fastest ways to open Command Prompt is by using the search bar in the Windows 10 Taskbar.

Just type “cmd” into the search bar and click on “Command Prompt”:

How to open Command Prompt from the Run program

Windows 10 has another program called Run that lets you, well, run other programs. You can also do things like open folders and files, but that’s outside the scope of this tutorial.

To open Run, you can open the Start Menu and find it under “Windows System”. You could also type “run” in the search box and find it that way.

But the fastest way to open Run is with the shortcut Windows Key + R.

Then, once the Run window is open, just type in “cmd” and press “OK” to open Command Prompt:

How to open Command Prompt as an administrator

Some commands like or require that you open Command Prompt as an administrator. This will give you elevated access for whatever commands you run.

To open Command Prompt as an administrator, find Command Prompt using any of the methods described earlier.

Then, right click on “Command Prompt” and click “Run as administrator”:

You may need to hover over “More” depending on the method you used to find the Command Prompt program.

Also, you may see a “User Account Control” window pop up with the message “Do you want to allow this app to make changes to your device?” Just click “Yes” to continue.

After this, you should see a Command Prompt window with “Administrator: Command Prompt” across the top:

Alternatively, you could open Command Prompt as a normal user, type in a command, and then press Ctrl + Shift + Enter to run that command as an administrator.

Note: While you should always be careful about what commands you run in Command Prompt or any other command line program, be especially mindful about what you run as an administrator. One wrong command could delete important system files and ruin your installation of Windows.

In summary

These are just some of the many ways to open Command Prompt in Windows. Go with whatever works best for you and run commands to your heart’s content.

But please, before you run any command, double check that everything is correct, especially if you opened Command Prompt as an administrator. Speaking from experience, a few extra seconds of caution could save you hours of reinstallation.

And with that, go forth and (safely) run all the commands.



If you read this far, tweet to the author to show them you care. Tweet a thanks

Learn to code for free. freeCodeCamp's open source curriculum has helped more than 40,000 people get jobs as developers. Get started

Sours: https://www.freecodecamp.org/news/how-to-open-the-command-prompt-in-windows-10/

4 Ways to Open Command Prompt in Windows 10

In this article, you can learn how to easily and quickly open Command Prompt in Windows 10 computer by use of four methods. You can choose either one to launch compand prompt and execute command lines.

Video guide on how to open Command Prompt in Windows 10:

How to Open Command Prompt in Windows 10

Way 1: Open the program in Start Menu.

Click the lower-left Start button to open the Start Menu, input cmd in the empty box and tap Command Prompt in the results.

open cmd from Start menu

Way 2: Turn on Command Prompt by search.

Tap the Search button on the taskbar, type cmd in the search box and choose Command Prompt on the top.

open command prompt via search

Way 3: Open Command Prompt from Quick Access Menu.

Press Windows+X, or right-click the bottom-left corner to open the menu, and then select Command Prompt on it.

open command prompt in quick access menu

Way 4: Open the app through Run.

Open the Run dialog using Windows+R hotkeys, enter cmd and tap OK. After that, you will get the command prompt window and execute command lines.

open command prompt by run

Related Articles:

Sours: https://www.isunshare.com/windows-10/4-ways-to-open-command-prompt-in-windows-10.html
  1. Zillow maui hi
  2. 2001 honda civic length
  3. Medimpact healthcare systems careers
  4. Lexus is 2004

How to Open Command Prompt

Command Prompt is one of the command-line interface programs used to execute commands in Windows operating systems.

Some popular Command Prompt commands you might have heard of include ping, netstat, tracert, shutdown, and attrib, but there are many more. We have a complete list here.

While Command Prompt probably isn't a tool most of you will use on a regular basis, it can really come in handy now and then, maybe to troubleshoot a specific Windows problem or to automate some kind of task.

Open Command Prompt in Windows 10

  1. Select the Start button.

  2. Type cmd.

  3. Select Command Prompt from the list.

Open Command Prompt Through the Start Menu

Another way to open Command Prompt in Windows 10 is to look in its Start menu folder:

  1. Select the Start button.

  2. Select the Windows System folder from the list.

  3. Choose Command Prompt from the folder group.

Open Command Prompt Using Power User Menu

One more method in Windows 10 is through the Power User Menu. If you're using a keyboard or mouse, choose Command Prompt from the menu that appears after pressing Win+X or right-clicking the Start button.

You might see Windows PowerShell options in the Power User Menu instead of Command Prompt. In more recent versions of Windows 10, Command Prompt has been replaced by PowerShell, but you can still access it from the Power User Menu by editing the taskbar settings.

Open Command Prompt in Windows 8 or 8.1

  1. Select the Start button and then swipe up to show the Apps screen. You can accomplish the same thing with a mouse by selecting the down arrow icon at the bottom of the screen.

    Prior to the Windows 8.1 update, the Apps screen can be accessed from the Start screen by swiping up from the bottom of the screen, or right-clicking anywhere, and then choosing All apps.

    If you're using a keyboard or mouse, a really quick way to open a Command Prompt window in Windows 8 is through the Power User Menu—just hold the WIN and X keys down together, or right-click the Start button, and choose Command Prompt.

  2. Swipe or scroll to the right on the Apps screen to locate the Windows System section heading.

  3. Select Command Prompt. You can now execute whatever command you needed to run.

    See our List of Windows 8 Command Prompt Commands for a complete list of the commands available through Command Prompt in Windows 8, including short descriptions and links to more in-depth information if we have it.

Open Command Prompt in Windows 7, Vista, or XP

  1. Open the Start menu from the bottom-left corner of the screen.

    In Windows 7 and Windows Vista, it's a bit faster to enter command in the search box at the bottom of the Start menu and then choose Command Prompt when it appears in the results.

  2. Go to All Programs > Accessories.

  3. Choose Command Prompt from the list of programs.

Other Ways to Open Command Prompt

Command Prompt in Windows XP through Windows 10 can also be opened with a command. This is especially helpful if you like using the Run dialog box or if Windows Explorer has crashed and the Start menu is inaccessible (and thus the directions above don't work).

To do this, enter cmd into the command-line interface. This can be in the Run dialog box (WIN+R) or Task Manager'sFile > Run new task menu.

Elevated Command Prompts and Old Windows Versions

In versions of Windows released before Windows XP, like Windows 98 and Windows 95, Command Prompt doesn't exist. However, the older and very similar MS-DOS Prompt does. This program is located in the Start menu and can be opened with the command run command.

Some commands, like the sfc command that's used to repair Windows files, require that Command Prompt be opened as an administrator before they can be executed. You'll know if this is the case if you get a message like one of these after trying to execute the command:

  • check that you have administrative rights
  • ... command can only be executed from an elevated command prompt
  • you must be an administrator

Thanks for letting us know!

Sours: https://www.lifewire.com/how-to-open-command-prompt-2618089

How to open Command Prompt 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

The Windows 10 Power Users Menu, with the two Command Prompt options highlighted.
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.

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

The search results for "Command Prompt" in Windows 10.
William Antonelli/Insider
You can also simply search for Command Prompt using Windows' normal search feature. Click the Start buttonand 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.

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

The "Windows System" folder in Windows 10, with the Command Prompt option highlighted.
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.

The Windows 10 Settings app, with the "Personalization" option highlighted.
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.

The Windows 10 Taskbar Personalization menu, with the option to disable PowerShell highlighted.
William Antonelli/Insider

William Antonelli

Editor & Staff Writer for Tech Reference

Sours: https://www.businessinsider.com/how-to-open-command-prompt

Command prompt open

Windows 10 tip: The fastest, smartest ways to open a Command Prompt window

open-command-prompt.jpg

Every version of Windows includes its own command processor, Cmd.exe. Opening that application gives you access to the full range of command-line tools and utilities in Windows.

The slow way to open this essential power user's tool is to dig through the Start menu (Start > Windows System > Command Prompt). Here are a handful of faster ways that also give you control over startup folders and whether you run the command session as an administrator.

  • Right-click Start and choose Command Prompt or Command Prompt (Admin) from the Quick Link menu. You can also use keyboard shortcuts for this route: Windows key + X, followed by C (non-admin) or A (admin).
  • Type cmd in the search box, then press Enter to open the highlighted Command Prompt shortcut. To open the session as an administrator, press Alt+Shift+Enter.
  • From File Explorer, click in the address bar to select its contents; then type cmd and press Enter. That opens a non-admin Command Prompt session in the current folder.
  • In a File Explorer window, hold down Shift as you right-click on a folder or drive. That opens a non-admin Command Prompt session in the selected location.
  • To open an administrative Command Prompt window in the current folder, use this hidden Windows 10 feature: Navigate to the folder you want to use, then tap Alt, F, M, A (that keyboard shortcut is the same as switching to the File tab on the ribbon, then choosing Open command prompt as administrator).

If you're a PowerShell user, you can open a Command Prompt session from PowerShell by typing cmd and pressing Enter. To return to PowerShell, type exit and press Enter.

Previous tip: More hibernation secrets to save time and disk space

Next week: Another Windows 10 tip from Ed Bott

see all of ed bott's Windows 10 Tips

Related Topics:

Enterprise Software Microsoft Windows PCs Reviews Sours: https://www.zdnet.com/article/windows-10-tip-the-fastest-smartest-ways-to-open-a-command-prompt/
How to Open Windows Command Prompt in Windows 10

The Command Prompt app has been around since December 1987, providing Windows users with a command-line interface from which to execute operating systems tasks, many of which are very useful. Due to its popularity, Microsoft has made the app easily accessible on Windows 10, in more ways than one.

Here are 11 ways to open Command Prompt.

Open Command Prompt from the search bar

You can search for any app using the Windows search bar, and the Command Prompt is no exception. First, type Command Prompt in the Windows search bar in the bottom-left corner of your screen, and then click the Command Prompt app in the search results, or click “Open” in the list of options to the right of the search results.

search for command prompt in windows searchMarshall Gunnell/IDG

Open Command Prompt from the Start menu

You can also open Command Prompt from the Start menu. First, click the Windows icon in the bottom-left corner of the screen. Next, scroll down the list of apps until you see Windows System. Click the down arrow next to it. 

A list of apps nested under the folder will appear. Here, click Command Prompt.

click command prompt in the start menuMarshall Gunnell/IDG

Open Command Prompt from the Power User menu

The Power User menu (often referred to as the WinX menu) can be used to launch Command Prompt. To open the Power User menu, press Windows + X or just right click the Windows icon in the bottom-left corner of the screen.

Next, click Command Prompt or Command Prompt (Admin) from the menu.

open command prompt from the power user menuMarshall Gunnell/IDG

Open Command Prompt using Cortana

You can ask Cortana, WIndows 10’s digital assistant, to open Command Prompt for you. Click the Cortana app icon in the taskbar to launch it.

click the cortana app iconMarshall Gunnell/IDG

Next, click the microphone icon in the bottom-right corner of the Cortana app, and then say “open command prompt.” Cortana will then open the Command Prompt app for you.

click the microphone iconMarshall Gunnell/IDG

If you don’t have a microphone or if you just don’t feel like speaking, you can also type open Command Prompt in Cortana’s Search box instead.

Open Command Prompt from File Explorer

If you’re working in File Explorer and need quick access to Command Prompt, there’s a simple solution. All you need to do is type cmd in the address bar and then press Enter.

find and open the exe fileMarshall Gunnell/IDG

Open Command Prompt from Task Manager (two ways)

There are two different ways to open Command Prompt from Task Manager—the quick way and the slightly quicker way. Go ahead and open Task Manager by pressing Ctrl + Shift + Esc.

Once open, click the File tab and then click Run New Task from the drop-down menu.

click file and run new task in task managerMarshall Gunnell/IDG

The Create New Task window will appear. Here, type cmd in the text box and then press Enter or click OK.

enter cmd in create new task boxMarshall Gunnell/IDG

That was the quick way. If you want to use the quicker way, just hold the Ctrl key while clicking Run New Task in the File tab. Command Prompt will then open without the need to type anything.

Open Command Prompt using the Run app

Windows 10’s Run app can open folders, documents, or programs on your PC—including Command Prompt. To open the Run app, press Windows + R, or search for it in the Windows search box. Once open, type cmd in the text box next to Open: and then press the Enter key or click OK.

open command prompt from runMarshall Gunnell/IDG

Open Command Prompt using Command Prompt

If you ever need more than one instance of Command Prompt up and running, you can open a new instance straight from…Command Prompt. In Command Prompt, type start cmd.exe and press the Enter key. A new instance of Command Prompt will open.

type the command to open command promptMarshall Gunnell/IDG

Open Command Prompt from Windows PowerShell

The command to open Command Prompt from Windows PowerShell is exactly the same as the command to open Command Prompt from Command Prompt. In Windows PowerShell, just type start cmd.exe and press Enter.

type the command in windows powershell to open command promptMarshall Gunnell/IDG

Open Command Prompt using its .exe file

Every program on your PC has an executable file. When you double-click the .exe file, the program will launch. To find Command Prompt’s .exe file, open File Explorer and go to your System Folder > Windows > System32. Here, scroll down until you find the cmd application file. Double-click it to launch Command Prompt.

find and open the exe fileMarshall Gunnell/IDG

That’s all there is to it. As popular as Command Prompt is, it’s no surprise there are so many ways to open it from different locations. If you find yourself using it a lot, you can even pin it to the Taskbar or create a desktop shortcut. The possibilities are endless.

Sours: https://www.pcworld.com/article/395081/open-command-prompt-in-windows.html

Similar news:

The Command Prompt has been around forever, and it’s still a great resource to have at your disposal. Today we’re showing you all of the different ways to open the Command Prompt. We’re betting you don’t know all of them.

The Command Prompt is a pretty useful tool. It allows you to do some things quicker than you can do them in the graphic interface and offers some tools that you just can’t find in the graphic interface at all. And in true keyboard-ninja spirit, the Command Prompt also supports all kinds of clever keyboard shortcuts that make it even more powerful. While it’s easy to just open the Command Prompt from the Start menu, that’s not the only way to do it. So, let’s take a look at the rest.

RELATED:10 Useful Windows Commands You Should Know

Note: this article is based on Windows 10, but the majority of these methods should work in earlier versions of Windows, too.

Open Command Prompt from Windows+X Power Users Menu

Press Windows+X to open the Power Users menu, and then click “Command Prompt” or “Command Prompt (Admin).”

Note: If you see PowerShell instead of Command Prompt on the Power Users menu, that’s a switch that came about with the Creators Update for Windows 10. It’s very easy to switch back to showing the Command Prompt on the Power Users menu if you want, or you can give PowerShell a try. You can do pretty much everything in PowerShell that you can do in Command Prompt, plus a lot of other useful things.

RELATED:How to Put the Command Prompt Back on the Windows+X Power Users Menu

Open a Command Prompt from Task Manager

RELATED:Seven Ways to Open the Windows Task Manager

Open Task Manager with more details. Open the “File” menu and then choose “Run New Task.” Type or , and then click “OK” to open up a regular Command Prompt. You can also check the “Create this task with administrative privileges” to open Command Prompt as administrator.

Open a Command Prompt in Admin Mode from Task Manager the Secret Easy Way

To quickly open a command prompt with administrative privileges from Task Manager, open the “File” menu and then hold the CTRL key while clicking “Run New Task.” This will immediately open Command Prompt with administrative privileges—no need to type anything.

Open Command Prompt from a Start Menu Search

You can easily open the Command Prompt by clicking Start and then typing “cmd” into the search box. Alternatively, click/tap on the microphone icon in Cortana’s search field and say “Launch Command Prompt.”

To open Command Prompt with administrative privileges, right-click the result and then click “Run as Administrator.” You could also highlight the result with the arrow keys and then press Ctrl+Shift+Enter.

Open Command Prompt By Scrolling Through the Start Menu

Click Start. Scroll down and expand the “Windows System” folder. Click “Command Prompt.” To open with administrative privileges, right-click Command Prompt and choose “Run as administrator.”

Open Command Prompt from File Explorer

Open File Explorer, and then navigate to the folder. Double-click the “cmd.exe” file or right-click the file and choose “Run as administrator.” You can also create a shortcut to this file and store the shortcut anywhere you like.

Open Command Prompt from the Run Box

Press Windows+R to open “Run” box. Type “cmd” and then click “OK” to open a regular Command Prompt. Type “cmd” and then press Ctrl+Shift+Enter to open an administrator Command Prompt.

Open Command Prompt from the File Explorer Address Bar

In File Explorer, click the address bar to select it (or press Alt+D). Type “cmd” into the address bar and hit Enter to open the Command Prompt with the path of the current folder already set.

Open Command Prompt Here from the File Explorer File Menu

In File Explorer, navigate to any folder you want to open at the Command Prompt. From the “File” menu, select one of the following options:

  • Open command prompt. Opens a Command Prompt within the currently selected folder with standard permissions.
  • Open command prompt as administrator. Opens a Command Prompt within the currently selected folder with administrator permissions.

Open Command Prompt from a Folder’s Context Menu in File Explorer

To open a Command Prompt window to any folder, Shift+right-click the folder in File Explorer and then choose “Open command window here.”

Create a Shortcut for Command Prompt on the Desktop

Right-click an empty spot on the Desktop. From the context menu, select New > Shortcut.

Type “cmd.exe” into the box and then click “Next.”

Give the shortcut a name and then click “Finish.”

You can now double-click the shortcut to open Command Prompt. If you want to open the Command Prompt with administrative privileges instead, right-click the shortcut and choose “Properties” from the context menu. Click the “Advanced” button and check the “Run as administrator” option. Close both open properties windows

Now you just have to double-click the shortcut to open Command Prompt as an administrator.

Sours: https://www.howtogeek.com/235101/10-ways-to-open-the-command-prompt-in-windows-10/


1154 1155 1156 1157 1158