-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Cmder's shell in other terminals
David Refoua edited this page Feb 27, 2021
·
12 revisions
You can start Cmder's shell in other terminals.
-
Create a
cmder_shell.batfile with the following content:@if "%cmder_init%" == "1" (goto :eof) else (set cmder_init=1) @pushd %CMDER_ROOT% @call "%CMDER_ROOT%\vendor\init.bat" /f @popd
-
Save it in your Cmder installation folder:
[cmder_root]\cmder_shell.bat -
Important Add Cmder's installation path to
%PATH%:
https://github.com/cmderdev/cmder/wiki/Setting-up-Environment-Variables#3-adding-to-path -
Type
cmder_shellfrom CMD to get the Cmder's shell:
-
Optional Install OneHalfDark color scheme:
- Install Microsoft's
ColorTool.exefrom here - Download OneHalfDark.itermcolors
- Read this guide to apply the color scheme, for example:
colortool -b OneHalfDark
Demo:
- Install Microsoft's
If you add cmder_shell.bat to the AutoRun registry key, the Cmder shell will start in CMD.EXE each time you open a new cmd window.
- Open
RegEdit.exeand navigate to the following key (Create the Key if it doesn't exist):- For Current User Only:
HKEY_CURRENT_USER\Software\Microsoft\Command Processor - For All users on the PC:
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor
- For Current User Only:
- Either Edit or Create a new key to create a String (
REG_SZ) and enter the name asAutoRun, then enter the following as Data:
cmder_shell.bat
- Assuming that you have followed the
%PATH%instructions correctly, every time you open theCMD.EXE, you'll have the Cmder shell in your terminal.