Open Command Prompt in Directory

Would'nt it be efficient to open command prompt on right click of a folder?? It's a time saver when I need to run scripts under a particular directory.Here is how:
- Windows GUI method (Easy)
* Open up windows explorer
* Tools -> Folder Options.
* File Types Tab
* Select the Folder file type
* Click Advanced
* Click New
* For the Action type what ever you want the context menu to display, I used Command Prompt.
* For the Application used to perform the action use c:\windows\system32\cmd.exe (note on win2k you will want to specify the winnt directory instead of the windows directory)
- Manual method
(Caution: This requires editing your registry. If you are not familiar with registry editing, this isn't for you... so use the Windows GUI method above)
1. Open regedit
2. Navigate to HKEY_LOCAL_MACHINE/Software/Classes/Folder/Shell
3. Create a new key called Command Prompt
4. Your default value should be Command Prompt Here
5. Create a new key called Command under the Command Prompt key
6. Your default value should be cmd.exe /k pushd %L
No comments:
Post a Comment