-
Notifications
You must be signed in to change notification settings - Fork 2k
Cmder's shell in other terminals
Abhishek Aryan edited this page Feb 27, 2021
·
12 revisions
You can start Cmder's shell in other terminals.
-
Create a
cmder_shell.bat
file 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_shell
from CMD to get the Cmder's shell:
-
Optional Install OneHalfDark color scheme:
- Install
ColorTool.exe
from Microsoft - Download OneHalfDark.itermcolors from here
- Read this guide to apply the color scheme, e.g.:
colortool -b OneHalfDark
Demo:
- Install
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.exe
and 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.