7536 » How do I cause Windows Server 2003 Explorer to open a command prompt at the folder I right-click? 09-Dec-03
To add a Command Prompt menu item to a folder's right-click context menu:
1. Copy / Paste the following to a CMD.reg file:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\cmd]
@="Command Prompt"
[HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
@="cmd.exe /k pushd \"%L\""
2. Merge the CMD.reg file with your registry, or run regedit /s CMD.reg.
3. Right-click a folder in Explorer, or My Computer, and press Command Prompt.
End of Article

