Skip to content

Instantly share code, notes, and snippets.

@maphew
Last active April 6, 2023 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maphew/27b1ca7d3b276e0a2df8489aa9856815 to your computer and use it in GitHub Desktop.
Save maphew/27b1ca7d3b276e0a2df8489aa9856815 to your computer and use it in GitHub Desktop.
Command Prompt Here for windows context menu. Adapted from @SagePtr comment at https://www.itprotoday.com/windows-10/add-open-command-window-here-windows-10-context-menu.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd_here]
@="@shell32.dll,-8506"
"Icon"="cmd.exe,0"
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd_here\command]
@="cmd.exe /s /k pushd \"%V\""
[HKEY_CLASSES_ROOT\Directory\shell\cmd_here]
@="@shell32.dll,-8506"
"Icon"="cmd.exe,0"
[HKEY_CLASSES_ROOT\Directory\shell\cmd_here\command]
@="cmd.exe /s /k pushd \"%V\""
; Adapted from @SagePtr comment at
; https://www.itprotoday.com/windows-10/add-open-command-window-here-windows-10-context-menu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment