Skip to content

Instantly share code, notes, and snippets.

@jojobyte
Last active April 7, 2026 01:13
Show Gist options
  • Select an option

  • Save jojobyte/66c8346ed8948b9b395f to your computer and use it in GitHub Desktop.

Select an option

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\""
@elVengador

Copy link
Copy Markdown

Thanks .*)

@JoshMatthew

Copy link
Copy Markdown

Shortcut to open Cmder in a chosen folder

Open a terminal as an Administrator
Navigate to the directory you have placed Cmder
Execute .\cmder.exe /REGISTER ALL If you get a message "Access Denied" ensure you are executing the command in an Administrator prompt.
In a file explorer window right click in or on a directory to see "Cmder Here" in the context menu.

Shortcut to open Cmder in a chosen folder

Open a terminal as an Administrator
Navigate to the directory you have placed Cmder
Execute .\cmder.exe /REGISTER ALL If you get a message "Access Denied" ensure you are executing the command in an Administrator prompt.
In a file explorer window right click in or on a directory to see "Cmder Here" in the context menu.

This solved my permission problem! thanks!

@ybg345

ybg345 commented Aug 15, 2020

Copy link
Copy Markdown

Executing .\cmder.exe /REGISTER ALL works fine while opening up Cmder in windows right click context menu. But by default Cmder is not opening as Administrator. Can someone tell how to open cmder as Administrator every time we open it from context menu (right click)?

@jatinpatel136

Copy link
Copy Markdown

select settings > general => then select cmder as admin
image

@ybg345

ybg345 commented Aug 21, 2020

Copy link
Copy Markdown

select settings > general => then select cmder as admin
image

That's so cool. Thank you.

@vlbn

vlbn commented Sep 2, 2020

Copy link
Copy Markdown

Shortcut to open Cmder in a chosen folder

Open a terminal as an Administrator
Navigate to the directory you have placed Cmder
Execute .\cmder.exe /REGISTER ALL If you get a message "Access Denied" ensure you are executing the command in an Administrator prompt.
In a file explorer window right click in or on a directory to see "Cmder Here" in the context menu.

👍😎 PERFECT!

@fedeul

fedeul commented Oct 10, 2020

Copy link
Copy Markdown

🙌 Thanks!

@oxk4r01

oxk4r01 commented Nov 8, 2020

Copy link
Copy Markdown

.\cmder.exe /REGISTER ALL

Great! Thank you :)

@oxk4r01

oxk4r01 commented Nov 8, 2020

Copy link
Copy Markdown

After .\cmder.exe /REGISTER ALL, could it be possible to assign a hotkey to it?

@jeferandom

Copy link
Copy Markdown

Thank you

@secp8x32

Copy link
Copy Markdown

Thanks a lot :)

@shawon39

shawon39 commented Apr 21, 2021

Copy link
Copy Markdown

You can go to Settings > Integration and set this in the command field (upper section).

{cmder} -cur_console:n:d:"%V"

Click on the Register > Save settings

image

@abdes-zakari

Copy link
Copy Markdown

Easy way:

  • Open a terminal as an Administrator.
  • Navigate to the directory you have placed Cmder.
  • Execute .\cmder.exe /REGISTER ALL

@SkyGra

SkyGra commented Aug 23, 2021

Copy link
Copy Markdown

Easy way:

  • Open a terminal as an Administrator.
  • Navigate to the directory you have placed Cmder.
  • Execute .\cmder.exe /REGISTER ALL

Thanks, it does work.

@lawweiliang

Copy link
Copy Markdown

Easy way:

  • Open a terminal as an Administrator.
  • Navigate to the directory you have placed Cmder.
  • Execute .\cmder.exe /REGISTER ALL

Yeah, this is easy and straightforward. Thanks, brother.

@sergioabreu-g

Copy link
Copy Markdown

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

elisim commented Jun 28, 2022

Copy link
Copy Markdown

Tested on windows 11 and works :)

@amirhossein-fzl

Copy link
Copy Markdown

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

"%CMDER_ROOT%\\Cmder.exe"

@dschulten

Copy link
Copy Markdown

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.

Thanks for clearing that up. Also, due to corporate restrictions only cmder /REGISTER USER worked for me.

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