1. Computing

How Do I Open Command Prompt?

By

Command Prompt screenshot in Windows 8

Command Prompt (Windows 8)

Question: How Do I Open Command Prompt?

Command Prompt is the command line interface tool, present in all modern Windows versions, that's used to execute the various commands available, referred to as Command Prompt commands.

If you need to execute a command, maybe to use a network diagnostic tool like the ping command or to automate a system restart with the shutdown command, you'll first need to open the Command Prompt program, just like any other program in Windows.

Answer: Command Prompt is most easily opened using the shortcut to the program that's included by default with Windows.

Depending on which version of Windows you're using, that shortcut is located either on the Apps screen or in the Start Menu.

The specific steps involved in opening Command Prompt differ greatly in Windows 8 but are fairly similar in Windows 7, Windows Vista, and Windows XP.

If you can't find the Command Prompt shortcut on your computer, here are some tutorials specific to your operating system that should help:

In all versions of Windows listed above, Command Prompt can also be opened using the cmd run command, which you can execute from the Run dialog box.

In versions of Windows prior to Windows XP, like Windows 98 and Windows 95, Command Prompt does not exist but the older MS-DOS Prompt does, is located in the Start Menu, and can be opened with the command run command.

Note: Some commands, like the popular sfc command 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 see a "check that you have administrative rights" or "... command can only be executed from an elevated command prompt" message after executing the command. See How Do I Open an Elevated Command Prompt? for help starting Command Prompt as an administrator.

  1. About.com
  2. Computing
  3. PC Support
  4. Command Line Reference
  5. How Do I Open Command Prompt?

©2014 About.com. All rights reserved.