I've recently started using cmder instead of Window's default cmd prompt and I'm really loving it. I'm at the point now where I want to replace all instances of cmd.exe being launched with cmder.exe being launched instead.

For the Shift + Rightclick context menu in folders, how can I set the "Open command window here" to launch cmder?

4 Answers 4


Observe next registry key: HKEY_CLASSES_ROOT\Directory\shell\cmd; exporting it from regedit gives next output:

Windows Registry Editor Version 5.00


@="cmd.exe /s /k pushd \"%V\""

Try next changes in the exported file and then import it (i.e. Merge from right-click context menu) with elevated privileges (it will add Open CMDER here functionality to your file explorer, supposing right path to cmder.exe in the last line); if you want to replace the Open command window here functionality, then change the last line only:

Windows Registry Editor Version 5.00

@="Open CMDER here"

;;; @="cmd.exe /s /k pushd \"%V\""
@="cmd.exe /s /d /c pushd \"%V\"&start \"\" cmder.exe"


If last statement is the case, then use syntax as follows:

@="cmd.exe /s /d /c pushd \"%V\"&start \"\" \"C:\\bin\\cmder.exe\""
  • That and 3 more keys ConEmu can process internally without user required registry modifications.
    – Maximus
    Commented Mar 16, 2015 at 11:54
  • In theory this makes sense to me, but the parameters it passed to cmder.exe aren't valid and I can't figure out what the correct parameters would be.
    – Jazcash
    Commented Mar 16, 2015 at 12:13
  • What is @ meant here? @="Open CMDER here": is it a key?
    – Love
    Commented May 11, 2016 at 19:04
  • @Love @ represents "name" of default value (which is nameless really) in a subkey.
    – JosefZ
    Commented May 11, 2016 at 19:19
  • @JosefZ, Could you please a snapshot for cmderpart so I can understand it better? Thanks.
    – Love
    Commented May 11, 2016 at 19:33

Try this works for me (This one is to modify "Open command window Here")

Navigate to HKEY_CLASSES_ROOT\Directory\Background\shell\cmd\command & then change the default value to "C:\cmder\Cmder.exe" "%V" & Also do the same for HKEY_CLASSES_ROOT\Directory\shell\cmd\command that is also change the default value to "C:\cmder\Cmder.exe" "%V"

Optionally you can also add icons

To add icons goto HKEY_CLASSES_ROOT\Directory\Background\shell\cmd Make a new String Value Name it Icon & give its value as "C:\cmder\Cmder.exe" & do the same for HKEY_CLASSES_ROOT\Directory\shell\cmd\command


Edited : Changed HKEY_CLASSES_ROOT\Directory\Background\cmd to HKEY_CLASSES_ROOT\Directory\Background\shell\cmd . Windows 10 have these things. I forgot about my older settings in windows 7.

  • Can you post a snapshot? It is not working.
    – Love
    Commented May 11, 2016 at 19:04
  • The link is not working.
    – Love
    Commented May 26, 2016 at 12:06
  • Sorry for that, see now screenshot has been added. Commented May 26, 2016 at 16:04
  • So did you override the dos command? I would prefer keep both of them. That is meant to keep both Windows command cmd and cmder.
    – Love
    Commented May 27, 2016 at 18:04
  • So you want to add another context option in the right click . See this tool, I use this tool too door2windows.com/… & in place of command use "C:\cmder\Cmder.exe" "%V" & select the Icon. Enjoy Commented May 27, 2016 at 18:54

Context Menu Integration

So you've experimented with Cmder a little and want to give it a shot in a more permanent home;

  • 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.

source: https://github.com/cmderdev/cmder

enter image description here

  • why so low. Easiest answer
    – cgasp
    Commented Aug 19, 2018 at 14:32
  • I really like this solution - except it does open a new instance every time i use this, shame it can't reuse and open a new tab instead Commented May 9, 2019 at 9:14

cmder if the ConEmu actually. So you can go two ways

  1. Set up ConEmu's menu items instead of Windows standard. Go to Settings\Integration and press "Register" in "ConEmu here" group. Of course you can choose there any shell to be started.
  2. ConEmu can "fully" replace standard Windows terminal using "Default terminal" feature. Just go to "Settings\Default term" and turn it on. So all console applications started from Explorer (even from Win+R) will be started in ConEmu.
  • This adds extra context menu options which I don't want, I want to edit the existing one.
    – Jazcash
    Commented Mar 16, 2015 at 12:13
  • Use "DefTerm" feature then.
    – Maximus
    Commented Mar 16, 2015 at 15:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .