-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Cmder's shell in other terminals
David Refoua edited this page Mar 20, 2019
·
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
ColorTool.exefrom 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.exeand navigate to the following key:- 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 (
REG_SZ) and enter the following:
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.