Thursday, November 29, 2007

Add "Open Command Prompt Here" in Windows Vista Context Menu

Geeks love to mess around with Command Prompt every now and then. So here we bring you a simple tip that will add "Open Command Prompt Here" to the Windows Vista right-click menu which will enable to launch command prompt directly from a folder you are currently browsing.


There are two ways to achieve this:

  • Only when you need - Simply hold down the SHIFT key while right clicking a folder. You'll see the option "Open Command Prompt Here"
  • Permanent- Follow this method if you want to bypass the above method and want the command prompt option permanently displayed. Open notepad and copy the following text to it (the text in green):
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 on the desktop. Exit notepad and double-click this file. You will be asked for confirmation to modify the registry. Simply approve it and you should see the changes taking place immediately. Right clicking any folder will give you the option "Open Command Prompt Here"

No comments: