Click here to Skip to main content
12,554,860 members (57,711 online)
Click here to Skip to main content
Add your own
alternative version



Open a command prompt anywhere.

, 21 Jun 2011 CPOL
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.


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

23 Jun 2011
Member 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...
24 Jun 2011
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[^].
8 Mar 2016
Yvan Rodrigues
5 alternatives  
This hidden key-click combination adds the ability to open a command prompt window from a Windows Explorer view.
14 Jun 2011
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.
30 Aug 2011
wendy krieger
You could try[^]. 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.


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


About the Author

Technical Lead
United States United States
Just a geek, dad, husband, photographer trying not to muck up too badly in life

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.161021.1 | Last Updated 21 Jun 2011
Article Copyright 2011 by rnbergren
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid