Jinsi ya kuanzisha Cmder ya “Cmder Hapa” Menyu ya ushirikiano katika Windows 10 Windows Explorer na uzinduzi Cmder katika dirisha jipya na Windows PowerShell
Cmder’s Windows Explorer context menu option ‘Open Cmder Here’ is handy to open cmder from 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:
- Ensure the PowerShell task is correctly defined.
Menu -> Settings -> Startup -> TasksIt 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" -
Change Cmder’s Startup task to be PowerShell.
Menu -> Settings -> Startup
- 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 BarAdd the first registry entry
Registry Path:
HKEY_CLASSES_ROOT\Directory\Background\shellRight click shell -> New -> Key
Taja ufunguo
cmderHariri faili ya (default) kamba kwa
Cmder HereRight click the new key
cmder -> New -> StringName the new String
IconFungua Icon na uweke thamani kama ifuatavyo ikichukua nafasi {path to cmder} na njia yako mwenyewe:
{path to cmder}iconscmder.ico,0Ongeza uandikishaji wa pili wa Usajili
Registry Path:
HKEY_CLASSES_ROOT\Directory\Background\shell\cmderRight click
cmder -> New -> KeyKwa amri, weka thamani ya chaguo-msingi, replacing {path to cmder} na njia yako mwenyewe:
{path to cmder}Cmder.exe" "%V"Ongeza kuingia kwa Usajili wa tatu
Registry Path:
HKEY_CLASSES_ROOT\Directory\shellRight click
shell -> New -> KeyTaja ufunguo
cmderHariri faili ya (default) kamba kwa
Cmder HereRight click the new key
cmder -> New -> StringName the new String
IconFungua Icon na uweke thamani kama ifuatavyo ikichukua nafasi {path to cmder} na njia yako mwenyewe:
{path to cmder}iconscmder.ico,0Ongeza kuingia kwa usajili wa nne
Registry Path:
HKEY_CLASSES_ROOT\Directory\shell\cmderRight click
cmder -> New -> KeyKwa amri, weka thamani ya chaguo-msingi, replacing {path to cmder} na njia yako mwenyewe:
{path to cmder}Cmder.exe" "%V" -
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.regfile 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.
Menyu ya muktadha sasa inapaswa kufanya kazi. 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.
