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?
Best Answer
Observe next registry key:
HKEY_CLASSES_ROOT\Directory\shell\cmd
; exporting it fromregedit
gives next output:Try next changes in the exported file and then import it (i.e.
Merge
from right-click context menu) with elevated privileges (it will addOpen CMDER here
functionality to your file explorer, supposing right path tocmder.exe
in the last line); if you want to replace theOpen command window here
functionality, then change the last line only:Edit
cmd.exe
command line parameters:/s
Strip quote characters from the command_line;/d
Ignore registry AutoRun commands;/c
Run Command and then terminate;pushd "%V"
Change the current directory/folder and store the previous folder/path for use by the POPD command;&
Run command before and then run command after;start "" cmder.exe
launches your application;"
are escaped here with\
;cmder.exe
, e.g."C:\bin\cmder.exe"
, escape all\
as well.If last statement is the case, then use syntax as follows: