Skip to content

Instantly share code, notes, and snippets.

@maciej-izak
Last active June 17, 2020 09:49
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 maciej-izak/7dcd5ef6dc110b70995b03c40a1c3ecf to your computer and use it in GitHub Desktop.
Save maciej-izak/7dcd5ef6dc110b70995b03c40a1c3ecf to your computer and use it in GitHub Desktop.
"Open command line" item in context menu for Windows 10
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\cmdprompt]
@="@shell32.dll,-8506"
"Extended"=""
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\cmdprompt\command]
@="cmd.exe /s /k pushd \"%V\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmdprompt]
@="@shell32.dll,-8506"
"Extended"=""
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmdprompt\command]
@="cmd.exe /s /k pushd \"%V\""
[HKEY_CLASSES_ROOT\Drive\shell\cmdprompt]
@="@shell32.dll,-8506"
"Extended"=""
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Drive\shell\cmdprompt\command]
@="cmd.exe /s /k pushd \"%V\""
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\wt]
@="@shell32.dll,-8506"
"Extended"=""
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\wt\command]
@="C:\\code\\terminal\\WindowsTerminal.exe -p \"Command Prompt\" -d \"%V\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\wt]
@="@shell32.dll,-8506"
"Extended"=""
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\Background\shell\wt\command]
@="C:\\code\\terminal\\WindowsTerminal.exe -p \"Command Prompt\" -d \"%V\""
[HKEY_CLASSES_ROOT\Drive\shell\wt]
@="@shell32.dll,-8506"
"Extended"=""
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Drive\shell\wt\command]
@="C:\\code\\terminal\\WindowsTerminal.exe -p \"Command Prompt\" -d \"%V\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment