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.