I often find myself in the situation where I wish to open a commandprompt in a certain folder, so I don’t have to add my folders to the system path variable.
I like to have a “Command to Here” menuitem when I right-click on a folder in Windows Explorer.
This is how it can be done. It can be done in several other ways as well, but this is my favorite:
1: Click the Windows start button and hit “Run”, and enter “regedit” to start editing the registration database
2: Go to “HKEY_LOCAL_MACHINE/Software/Classes/Folder/Shell”.
3: Create a key and call it “Command Prompt”.
4: The default value should be whatever you want the text to be in the menu when you right-click a folder.
5: Within “Command Prompt” make a new key named “command”
6: Set default value to “cmd.exe /k pushd %1″
This menuitem appears immediately
Related posts:
- How To Copy DLL files out of GAC (Windows Assembly), Using Explorer Or Command Line
- stsadm is not recognized as an internal or external command, operable program or batch file.
- Stsadm is not recognized as an internal or external command, operable program or batch file.
- Stop / deactivate beep in Windows
- The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID…
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.