ITsVISTA
Information that makes life easier when it comes to installing, managing, and using Windows Vista.
Start About FAQ Blogroll Shop

ITsVISTA Tip 7: ‘Open CMD Prompt Here’ in Vista is Simple

TipsFor 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.

Get notified of new posts for FREE via RSS or E-mail

Subscribe to ITsVISTA!

Comments

Leave a Comment