Created
November 21, 2020 16:47
-
-
Save scr2em/c96340fd3b92bc6b0173f9989a6c2e09 to your computer and use it in GitHub Desktop.
Revisions
-
scr2em created this gist
Nov 21, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ ### "Open Cmder Here" in context menu To add an entry in the Windows Explorer context menu to open Cmder in a specific directory, paste this into a `OpenCmderHere.reg` file and double-click to install it. ``` 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\"" ``` Then add the Environment variable `CMDER_ROOT` to point to the path of your installation.  **After adding this, a restart of the explorer might be required to make it work.** **Execute .\cmder.exe /REGISTER ALL If you get a message "Access Denied" ensure you are executing the command in an Administrator prompt.**