The command prompt comes pre-installed on all Windows NT, Windows CE, OS/2 and eComStation operating systems, and exists as cmd.exe, typically located in C:\Windows\system32\cmd.exe

On Windows 7 the fastest ways to open the command prompt are:

  • Press Win 𐌎, type "cmd" and then press Enter.

  • Press Win 𐌎+R, type "cmd" then then press Enter.

  • If you have an explorer window open, type "cmd" in the address bar to open a prompt in the currently selected directory.

  • Right-click a folder in Explorer while holding Shift and select "Open command window here".

It can also be opened by navigating to the executable and double-clicking on it.

In some cases you might need to run cmd with elevated permissions, in this case right click and select "Run as administrator". This can also be achieved by pressing Control+Shift+Enter instead of Enter when using way 1 of the points above.