Wednesday, October 08, 2008

Command Prompt Here option

Developers typically need a quick shortcut to opening command prompt in any folder they want. Here's what I personally use:

Create a new file AnyName.reg and edit it to enter the following text:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\OpenNew]
@="Command Prompt Here"
[HKEY_CLASSES_ROOT\Directory\shell\OpenNew\Command]
@="cmd.exe /k cd %1"


Run the file to update the registry. Now, you will get a "Command Prompt Here" option whenever you right click on any folder.

1 Comments:

At November 12, 2008 at 1:45 PM , Anonymous Anonymous said...

Thanks for writing this.

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home