Skip to content

Instantly share code, notes, and snippets.

@TangChr
Created July 26, 2016 14:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TangChr/22b97d2db20254d650ba26a40da82c57 to your computer and use it in GitHub Desktop.
Save TangChr/22b97d2db20254d650ba26a40da82c57 to your computer and use it in GitHub Desktop.
Registry: Add "Open in cmd" shortcut to Windows Explorer’s Context Menu
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd_here]
@="Open cmd here"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd_here\command]
@="cmd.exe /s /k pushd \"%V\""
[HKEY_CLASSES_ROOT\Directory\shell\cmd_here]
@="Open in cmd"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT\Directory\shell\cmd_here\command]
@="cmd.exe /s /k pushd \"%V\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment