Skip to content

Instantly share code, notes, and snippets.

@BitWizCoder-ol
Forked from hamzahamidi/open-cmder-here.md
Created August 9, 2022 09:39
Show Gist options
  • Save BitWizCoder-ol/0280a3a1702847987d44cd979c98b846 to your computer and use it in GitHub Desktop.
Save BitWizCoder-ol/0280a3a1702847987d44cd979c98b846 to your computer and use it in GitHub Desktop.

Revisions

  1. @hamzahamidi hamzahamidi revised this gist Oct 20, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion open-cmder-here.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    # "Open Cmder Here" in context menu

    ## Edit 04/2021:
    As of the lastest versions just Execute the following command `.\cmder.exe /REGISTER ALL` per [Documentation](https://github.com/cmderdev/cmder#cmderexe-command-line-arguments)
    As of the lastest versions, just execute the following command `.\cmder.exe /REGISTER ALL` per [Documentation](https://github.com/cmderdev/cmder#cmderexe-command-line-arguments).

    ## Original Solution
    To add an entry in the Windows Explorer context menu to open Cmder
  2. @hamzahamidi hamzahamidi revised this gist Oct 20, 2021. 1 changed file with 8 additions and 2 deletions.
    10 changes: 8 additions & 2 deletions open-cmder-here.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,9 @@
    ### "Open Cmder Here" in context menu
    # "Open Cmder Here" in context menu

    ## Edit 04/2021:
    As of the lastest versions just Execute the following command `.\cmder.exe /REGISTER ALL` per [Documentation](https://github.com/cmderdev/cmder#cmderexe-command-line-arguments)

    ## Original Solution
    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.
    @@ -18,4 +23,5 @@ Then add the Environment variable `CMDER_ROOT` to point to the path of your inst

    **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.**
    **Execute .\cmder.exe /REGISTER ALL If you get a message "Access Denied" ensure you are executing the command in an Administrator prompt.**

  3. @hamzahamidi hamzahamidi revised this gist Jan 7, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion open-cmder-here.md
    Original file line number Diff line number Diff line change
    @@ -18,4 +18,4 @@ Then add the Environment variable `CMDER_ROOT` to point to the path of your inst

    **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.
    **Execute .\cmder.exe /REGISTER ALL If you get a message "Access Denied" ensure you are executing the command in an Administrator prompt.**
  4. @hamzahamidi hamzahamidi renamed this gist Jan 7, 2019. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. @hamzahamidi hamzahamidi created this gist Jan 7, 2019.
    21 changes: 21 additions & 0 deletions open-cmder-here
    Original 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.

    ![System Settings Environment Variable](http://i.imgur.com/SEEpqF1.png)

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