The path variable in the cmder only contains those paths imported form the system path variable. While in normal command shell, the system path and user path will be concatenated.
I've found in the cmder_dir\vendor\init.bat the following lines:
:: Enhance Path
@set git_install_root=%CMDER_ROOT%\vendor\msysgit
@set PATH=%CMDER_ROOT%\bin;%git_install_root%\bin;%git_install_root%\mingw\bin;%git_install_root%\cmd;%git_install_root%\share\vim\vim74;%CMDER_ROOT%;%PATH%
But obviously only system path is included in the %PATH% above.
How could I add the user path to it?
No comments:
Post a Comment