For those that are big fans of the command prompt, it often saves time to be able to open a command prompt from a folder you are currently browsing. There are a few ways to do this, and as Toby and Martin suggest at the 64 Bit World Forums, both are very easy.

Only When You Need It
If you will only use this now and then, and don’t want to modify your system at all, simply hold down the SHIFT key, and right-click the folder. You’ll see the option to Open Command Prompt Here.
Always and Forever
If you use this function often, why not just have it available for every folder? It’s very easy using one registry setting. Copy the following text, paste it into NotePad:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Folder\shell\Open Command Prompt Here\command]
@="cmd.exe /k pushd %L"
Save the file as cmdhere.reg (switch the file type from ‘Text Document’ to ‘All Files’ so it doesn’t try to add a ‘.txt’ to the end of the name) and then double-click it. If you have UAC active (which you should), allow the script to run, and then approve the registry modification (which you’ll be asked regardless of your UAC setting). That’s it, the change takes effect immediately, so right-clicking on any folder will give you the option to Open Command Prompt Here.

Start
About
FAQ
Blogroll
Shop
Tips and Tricks
Windows Updates
Hotfixes
Fix It
Keyboard Shortcuts
Vista's Services
Vista's Commands
Product Reviews
Glossary
Videos
Web Links

Comments
Brant
Mar 13, 2007 at 4:49 pm
Any idea how this can be done to give the CMD prompt administrative privileges?
Ster
Jul 18, 2007 at 9:05 am
Great question from Brant, anyone find a solution yet?
Gurpreet Singh
Aug 18, 2007 at 7:42 pm
Please let me know if we are able to do this.
Red Scot
Dec 13, 2007 at 10:56 am
Check out this Technet article on elevated command prompt
http://www.microsoft.com/technet/technetmag/issues/2007/06/UtilitySpotlight/default.aspx
links for 2008-09-18 | xanders blog
Sep 19, 2008 at 12:31 am
[...] ITsVISTA Tip 7: ‘Open CMD Prompt Here’ in Vista is Simple | ITsVISTA Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOTFoldershellOpen Command Prompt Herecommand] @="cmd.exe /k pushd %L" (tags: windows vista hack productivity) « links for 2008-09-17 [...]
Scott Houdek
May 21, 2009 at 8:56 pm
yeah!, what about the problem of command prompt not going into fullscreen mode and using graphic mode under Vista??????, is there any other tricks up you sleeves!
LOL
Leave a Comment