VB and VBA Users Source Code: Adding a "Command Prompt Here" shortcut to windows explorer
[
Home
|
Contents
|
Search
|
Reply
| Previous | Next ]
VB/VBA Source Code
Adding a "Command Prompt Here" shortcut to windows explorer
By:
Andrew Baker
Email (spam proof):
Email the originator of this post
Date:
Tuesday, December 06, 2005
Hits:
3019
Category:
Files/Directories/IO
Article:
It is often useful to be able to start a command prompt in a specific folder when browsing through a folder in Windows Explorer. The registry file below creates a context (or right click) menu item which allows you to do just this. Save the following text into a file called "C:\CommandPromptHere.reg" and then double click on the file in Windows Explorer. After doing this you will then be able to right click on a folder and select the "Command Prompt Here" menu. REGEDIT4 [HKEY_CLASSES_ROOT\Folder\shell\CmdHere] @="&Command Prompt Here" [HKEY_CLASSES_ROOT\Folder\shell\CmdHere\Command] @="cmd.exe /k cd \"%1\""
Terms and Conditions
Support this site
Download a trial version of the Excel Workbook Rebuilder