I installed Cmder with the chocolatey: https://chocolatey.org/packages/Cmder
and I would like to have a shortcut in my context menu to open cmder in the current directory. I followed [the official wiki]:
Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder] @="Open Cmder Here" "Icon"=""%CMDER_ROOT%\icons\cmder.ico",0"
[HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder\command] @=""%CMDER_ROOT%\Cmder.exe" /START "%v""
(https://github.com/cmderdev/cmder/wiki/Context-menu-integration) but even though the icon to start Cmder does show up in the context menu, it however throws an error in a message box saying:
Windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item.
The path of the Cmder executable is in: C:\tools\Cmder\Cmder.exe
The environment variable seems to be fine (been set with setx CMDER_ROOT "C:\tools\Cmder"):
echo %cmder_root%
C:\tools\Cmder
I can't really figure out what's wrong here, any idea?