This page has tremendous information on dealing with the Windows Shell & extensions as related to starting cmd.exe from explorer
and, because links tend to break - an excpert
Selecting this entry will open a DOS prompt with its current directory set to the folder you just right-clicked.
- Open your registry (regedit)
- Go to the following key: HKEY_CLASSES_ROOT\Folder\shell
- Add this key: CmdPrompt and set its default value to: "Command Prompt"
- Under this new key, add the following key: Command and set its default value to: "c:\winnt\system32\cmd.exe"
You should now have this tree in your registry:
That's it. Now, whenever you will right-click on a folder, the pop-up menu will contain an entry called "Command Prompt".