I was recently asked about opening a DOS prompt to a given folder and figured I would share the .reg file I keep around for this purpose.
Here it is:
Windows Registry Editor Version 5.00(Copy, paste, save with .reg extension, run) ^_^
[HKEY_CLASSES_ROOT\Folder\shell\Command Here...]
[HKEY_CLASSES_ROOT\Folder\shell\Command Here...\command]
@="cmd /K \"cd %1\""
Note that the "Command Here..." option only appears if you right click on the folder you want the prompt to open in. This may mean you have to back out of the directory first so you can right click on it. If anyone's come up with a way around this, I'd be interested in hearing it - comments are welcome!
No comments:
Post a Comment