Otu esi edozi Cmder “Cmder ebe a” nchịkọta menu onodu na Windows 10 Windows Explorer wee malite Cmder na windo ọhụrụ na Windows PowerShell

Nhọrọ nhọrọ ọnọdụ ihe nchọgharị Windows Explorer nke Cmder 'Mepee Cmder Ebe a’ Ọ dị mfe imepe cmder site na Windows Explorer, whilst keeping the same path.  

We will also be changing Cmder’s default startup shell, from cmd to PowerShell.  

The following steps will enable the context menu in Windows 10, and ensures the current path in Windows Explorer will be used in Cmder:  

  1. Ensure the PowerShell task is correctly defined.
    Menu -> Settings -> Startup -> Tasks
    It should look like below…

    Commands

    PowerShell -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command "Invoke-Expression 'Import-Module ''%ConEmuDir%..profile.ps1'''"

    Task parameters

     /icon "%CMDER_ROOT%iconscmder.ico"

     

  2. Change Cmder’s Startup task to be PowerShell.

    Menu -> Settings -> Startup
    Cmder Startup Task

     

  3. Edit the registry as follows or use the registry editing file by skipping to step 4…

    Start Registry Editor

    Win Key + R -> regedit -> Click OK

    Show the Address bar in the Registry Editor if it is not already showing

    View -> Address Bar

     

    Add the first registry entry

    Ụzọ ndekọ: HKEY_CLASSES_ROOT\Directory\Background\shell

    Pịa aka nri shei -> Ọhụrụ -> Igodo

    Kpọọ igodo ahụ cmder

    Dezie nke (ndabere) eriri ka Cmder Here

    Right click the new key cmder -> New -> String

    Name the new String Icon

    Mepee akara ngosi ma tọọ uru dị ka ndị a nọchiri anya {path to cmder} na ụzọ nke gị:

    {path to cmder}iconscmder.ico,0

     

    Tinye ntinye ndekọ nke abụọ

    Ụzọ ndekọ: HKEY_CLASSES_ROOT\Directory\Background\shell\cmder

    Right click cmder -> New -> Key

    N'iwu, tọọ uru nke Default, replacing {path to cmder} na ụzọ nke gị:

    {path to cmder}Cmder.exe" "%V"

     

    Tinye ntinye ndekọ nke atọ

    Ụzọ ndekọ: HKEY_CLASSES_ROOT\Directory\shell

    Right click shell -> New -> Key

    Kpọọ igodo ahụ cmder

    Dezie nke (ndabere) eriri ka Cmder Here

    Right click the new key cmder -> New -> String

    Name the new String Icon

    Mepee akara ngosi ma tọọ uru dị ka ndị a nọchiri anya {path to cmder} na ụzọ nke gị:

    {path to cmder}iconscmder.ico,0

     

    Tinye ntinye ndekọ nke anọ

    Ụzọ ndekọ: HKEY_CLASSES_ROOT\Directory\shell\cmder

    Right click cmder -> New -> Key

    N'iwu, tọọ uru nke Default, replacing {path to cmder} na ụzọ nke gị:

    {path to cmder}Cmder.exe" "%V"

     

  4. If you carried out step 3, please skip this step.

    Instead of manually editing the registry, you can simply download and unzip the file. Open the enable-cmder-context-menu.reg file and replace {path to cmder} with the path to cmder on your Windows PC. Save the file and close it. Double click the file and accept any prompts.

    Download

     

Nchịkọta ihe ndị gbara ya gburugburu kwesịrị ịdị na-arụ ọrụ ugbu a. Right click on the desktop and click Cmder Here. Cmder should open with PowerShell with the present working directory as your desktop.

 

You can remove the Cmder Here entry from the context menu by running the disable-cmder-context-menu.reg file, which was included in the zip file.