Click here to Skip to main content
15,884,177 members
Articles / Programming Languages / Shell

Open A Command Prompt Anywhere

Rate me:
Please Sign up or sign in to vote.
4.98/5 (127 votes)
8 Mar 2016CPOL 176.6K   40  
This hidden key-click combination adds the ability to open a command prompt window from a Windows Explorer view.

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.
21 Jun 2011rnbergren
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.
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.
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
Engineer Robotic Assistance Devices / AITX
Canada Canada
Yvan Rodrigues has 30 years of experience in information systems and software development for the industry. He is Senior Concept Designer at Robotic Assistance Devices

He is a Certified Technician (C.Tech.), a professional designation granted by the Institute of Engineering Technology of Ontario (IETO).

Yvan draws on experience as owner of Red Cell Innovation Inc., Mabel's Labels Inc. as Manager of Systems and Development, the University of Waterloo as Information Systems Manager, and OTTO Motors as Senior Systems Engineer and Senior Concept Designer.

Yvan is currently focused on design of embedded systems.

Comments and Discussions