Skip to content

Instantly share code, notes, and snippets.

@elmuerte
Created April 13, 2021 07:20
Show Gist options
  • Save elmuerte/5a820d5b11faf5ccca0b1be4ab6a924e to your computer and use it in GitHub Desktop.
Save elmuerte/5a820d5b11faf5ccca0b1be4ab6a924e to your computer and use it in GitHub Desktop.
Command Prompt Here
Windows Registry Editor Version 5.00
; Adds an "Open command window here" option when holding Shift and right clicking on a directory in Explorer
; Right above the Open PowerShell window here and Open Linux shell here options
[HKEY_CLASSES_ROOT\Directory\shell\OpenCommandPrompt]
@="@shell32.dll,-8506"
"ShowBasedOnVelocityId"=dword:00639bc8
"NoWorkingDirectory"=""
"Extended"=""
"Icon"="%windir%\\system32\\cmd.exe"
[HKEY_CLASSES_ROOT\Directory\shell\OpenCommandPrompt\command]
@="cmd.exe /s /k pushd \"%V\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCommandPrompt]
@="@shell32.dll,-8506"
"ShowBasedOnVelocityId"=dword:00639bc8
"NoWorkingDirectory"=""
"Extended"=""
"Icon"="%windir%\\system32\\cmd.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCommandPrompt\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