- Start Regedit
- Go to HKEY_CLASSES_ROOT\Directory\shell
- Create a new key called Command
- Give it the value of the name you want to appear in the Explorer. Something like Open Command
- Under this create a new key called command
- Give it a value of cmd.exe /k “cd %1”
- Now when you are in the Explorer, right click on a folder, select Open DOS Box, and a command prompt will open to the selected directory.