Click here to Skip to main content
15,896,606 members
Articles / Programming Languages / Shell

Open a command prompt anywhere.

Rate me:
Please Sign up or sign in to vote.
5.00/5 (5 votes)
21 Jun 2011CPOL 12.6K  
The reverse is true as well. Typing "explorer ." will open Explorer from the command line for the current directory you are in. That comes in useful on occasions.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
23 Jun 2011Member 8009015
My XP method is to:Go to C:\WINDOWS\system32\Right click on cmd.exeSend to Desktop (shortcut)Right click on the Desktop shortcutClear the start in parameterOn the address line of any Explorer directory, start typing cmd and you will get a list of any icons on the Desktop starting...
Please Sign up or sign in to vote.
24 Jun 2011thatraja
Here are a couple of other ways:Microsoft PowertoysSend to ToysManually add the context menuThrough batch fileThrough the RegistryAdd Command Prompt here Shortcut to Windows Explorer[^].
Please Sign up or sign in to vote.
8 Mar 2016Yvan Rodrigues 5 alternatives  
This hidden key-click combination adds the ability to open a command prompt window from a Windows Explorer view.
Please Sign up or sign in to vote.
14 Jun 2011manish76235
Good one. However typing CMD in the explorer address bar and pressing enter will also open up the command prompt inside the selected folder path as well. Hope this helps.
Please Sign up or sign in to vote.
30 Aug 2011wendy krieger
You could try http://win.code65536.com/[^]. The first link here is an 'open command prompt' (freeware).Unlike most, you can click on folder background to open it up to that directory.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Team Leader
United States United States
Just a geek, dad, husband, photographer trying not to muck up too badly in life

Comments and Discussions