1,094 views
Add ‘Command Prompt Here’ when you right-click in Explorer
Open your favourite registry editor (regedit will do just fine)
Go to "HKEY_CLASSES_ROOT"
Locate the "Folder" key
Open the "shell" branch
Create a new key called "Command Prompt Here"
Open this key and create a new key called "command"
Open "command" and double click the "default" entry (REG_SZ)
Type the following :
cmd.exe /k pushd %L
Close regedit.
You don’t need to restart the computer to activate this. Just open Explorer, right click on a folder and choose "Command Prompt Here". This will open a Command Prompt, in the location of the currently selected folder.
© 2008, Peter Van Eeckhoutte (corelanc0d3r). All rights reserved.