Skip to content

Instantly share code, notes, and snippets.

@anonymouss
Created February 18, 2019 05:53
Show Gist options
  • Save anonymouss/922ff69de843c199e9c2675e242c4c4e to your computer and use it in GitHub Desktop.
Save anonymouss/922ff69de843c199e9c2675e242c4c4e to your computer and use it in GitHub Desktop.
add `open command prompt here` on right click option for Windows 10
Windows Registry Editor Version 5.00
; add `open command prompt here` on right click option for Windows 10
; copy and paste to new created text file `cmd.reg`
; file must be saved as `ANSI` encoding
[HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere]
@="Open command prompt here"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT\Directory\shell\OpenCmdHere\command]
@="cmd.exe /s /k pushd "%V""
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere]
@="Open command prompt here"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\OpenCmdHere\command]
@="cmd.exe /s /k pushd \"%V\""
[HKEY_CLASSES_ROOT\Drive\shell\OpenCmdHere]
@="Open command prompt here"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT\Drive\shell\OpenCmdHere\command]
@="cmd.exe /s /k pushd \"%V\""
[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenCmdHere]
@="Open command prompt here"
"Icon"="cmd.exe"
[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\OpenCmdHere\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