Skip to content

Instantly share code, notes, and snippets.

@tinkernels
Last active December 26, 2021 20:43
Show Gist options
  • Save tinkernels/a05b6bb19cffc3d7f1691963bdac46df to your computer and use it in GitHub Desktop.
Save tinkernels/a05b6bb19cffc3d7f1691963bdac46df to your computer and use it in GitHub Desktop.
Add the Command Prompt to the Windows Explorer Right-Click Menu
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\CommandPrompt]
@="Open Command Prompt"
"Icon"="C:\\Windows\\System32\\cmd.exe"
[HKEY_CLASSES_ROOT\Directory\shell\CommandPrompt\Command]
@="cmd.exe /s /k pushd \"%1\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd_shell]
@="Open Command Prompt"
"Icon"="C:\\Windows\\System32\\cmd.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmd_shell\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