cmder is based on ConEmu (console emulator) (ie OS - Terminal (Emulator) (Term|tty)
Cmder comes with ConEmu as the console emulator.
mkdir c:\cmder
cd C:\cmder
Cmder.exe /C "C:\Users\gerard\Dropbox\config\Cmder2"
Generating clink initial settings in "C:\Users\gerard\Dropbox\config\Cmder2\config\settings"
Additional *.lua files in "C:\Users\gerard\Dropbox\config\Cmder2\config" are loaded on startup.\
Creating initial user_aliases store in "C:\Users\gerard\Dropbox\config\Cmder2\config\user_aliases.cmd"...
1 file(s) copied.
Creating user startup file: "C:\Users\gerard\Dropbox\config\Cmder2\config\user_profile.cmd"
1 file(s) copied.
Cmder.exe /REGISTER ALL
test:
where cmder.exe
C:\cmder\Cmder.exe
Individual user Cmder root folder is set with
cmder.exe /C %user_root_path%
user_root_path\
├───bin
└───config
└───profile.d
same as ??
mklink /D "C:\cmder\config" "C:\Dropbox\config\Cmder"
The launcher copies the conEmu.xml file into cmder\vendor\conemu-maximus5\ConEmu.xml so it does not get overwritten. See cmderdev/cmder/issues/695
Cmder /REGISTER ALL
In order to get bash started in the current directory:
C:\cmder\vendor\git-for-windows\bin\bash.exe -new_console:d:%CMDER_START%
conEmu -loadcfgfile “full-path-2-xml”
# The root path
/
# is
C:/cmder/vendor/git-for-windows
echo %TEMP%
C:\Users\GERARD~1\AppData\Local\Temp
If a parameter has a /, it seems that it replace it with
Example: with the following parameter /mediawiki/page/title (an Xpath), I got in return C:/cmder/vendor/git-for-windows/mediawiki/page/title
One work around is to use two slashes //