Skip to content

Instantly share code, notes, and snippets.

@jojobyte
Last active May 13, 2024 12:38
Show Gist options
  • Save jojobyte/66c8346ed8948b9b395f to your computer and use it in GitHub Desktop.
Save jojobyte/66c8346ed8948b9b395f to your computer and use it in GitHub Desktop.
Cmder Context (Right-Click) Menu for Windows 7, 8, 10 & 11
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder]
[-HKEY_CLASSES_ROOT\Directory\shell\Cmder]
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder]
@="Open Cmder Here"
"Icon"="C:\\tools\\cmder\\Cmder.exe,0"
[HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder\command]
@="\"C:\\tools\\cmder\\Cmder.exe\" \"%V\""
[HKEY_CLASSES_ROOT\Directory\shell\Cmder]
@="Open Cmder Here"
"Icon"="C:\\tools\\cmder\\Cmder.exe,0"
[HKEY_CLASSES_ROOT\Directory\shell\Cmder\command]
@="\"C:\\tools\\cmder\\Cmder.exe\" \"%1\""
@sergioabreu-g
Copy link

If you update to Windows 11 you will have to disable and enable it again. Also, it will not appear in the main context menu, but under the "Show more options" submenu due to the W11 new context menu design.

@elisim
Copy link

elisim commented Jun 28, 2022

Tested on windows 11 and works :)

@amirhossein-fzl
Copy link

@jojobyte
If you can use environment variables, it will be great. For example :

"%CMDER_ROOT%\\Cmder.exe"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment