2018-11-02 21:00:41 +08:00
|
|
|
@echo off
|
|
|
|
|
2021-09-18 00:22:25 +08:00
|
|
|
(echo.
|
2018-11-02 21:00:41 +08:00
|
|
|
echo ------------------------------------
|
2023-02-13 01:46:16 +08:00
|
|
|
echo Get Cmder env variables...
|
2018-11-02 21:00:41 +08:00
|
|
|
echo ------------------------------------
|
2023-02-13 01:46:16 +08:00
|
|
|
set | findstr -i -r "^aliases= architecture_bits ccall= cexec= ^clink_ ^cmder ^debug_output= fast_init= ^GIT_INSTALL_ROOT= ^git_locale= ^HOME= ^max_depth= ^nix_tools= ^path_position= ^path= ^PLINK_PROTOCOL= ^print_ ^SVN_SSH= ^time_init= ^user_aliases= ^verbose_output="
|
2018-11-02 21:00:41 +08:00
|
|
|
|
|
|
|
echo.
|
|
|
|
echo ------------------------------------
|
2021-09-18 00:22:25 +08:00
|
|
|
echo where git
|
2018-11-02 21:00:41 +08:00
|
|
|
echo ------------------------------------
|
2021-09-18 00:22:25 +08:00
|
|
|
where git
|
2018-11-02 21:00:41 +08:00
|
|
|
|
|
|
|
echo.
|
|
|
|
echo ------------------------------------
|
2021-09-18 00:22:25 +08:00
|
|
|
echo where clink
|
2018-11-02 21:00:41 +08:00
|
|
|
echo ------------------------------------
|
2021-09-18 00:22:25 +08:00
|
|
|
where clink
|
2018-11-02 21:00:41 +08:00
|
|
|
|
|
|
|
echo.
|
|
|
|
echo ------------------------------------
|
2021-09-18 00:22:25 +08:00
|
|
|
echo systeminfo
|
2018-11-02 21:00:41 +08:00
|
|
|
echo ------------------------------------
|
2021-09-18 00:22:25 +08:00
|
|
|
systeminfo
|
|
|
|
|
|
|
|
echo ------------------------------------
|
|
|
|
echo dir "%cmder_root%"
|
|
|
|
echo ------------------------------------
|
|
|
|
dir "%cmder_root%"
|
2018-11-02 21:00:41 +08:00
|
|
|
|
|
|
|
echo.
|
|
|
|
echo ------------------------------------
|
2021-09-18 00:22:25 +08:00
|
|
|
echo dir "%cmder_root%\vendor"
|
2018-11-02 21:00:41 +08:00
|
|
|
echo ------------------------------------
|
2021-09-18 00:22:25 +08:00
|
|
|
dir "%cmder_root%\vendor"
|
2018-11-02 21:00:41 +08:00
|
|
|
|
|
|
|
echo.
|
|
|
|
echo ------------------------------------
|
2021-09-18 00:22:25 +08:00
|
|
|
echo dir /s "%cmder_root%\bin"
|
2018-11-02 21:00:41 +08:00
|
|
|
echo ------------------------------------
|
2021-09-18 00:22:25 +08:00
|
|
|
dir /s "%cmder_root%\bin"
|
2018-11-02 21:00:41 +08:00
|
|
|
|
2020-09-12 18:10:41 +08:00
|
|
|
echo.
|
|
|
|
echo ------------------------------------
|
2021-09-18 00:22:25 +08:00
|
|
|
echo dir /s "%cmder_root%\config"
|
2020-09-12 18:10:41 +08:00
|
|
|
echo ------------------------------------
|
2021-09-18 00:22:25 +08:00
|
|
|
dir /s "%cmder_root%\config"
|
2020-09-12 18:10:41 +08:00
|
|
|
|
2018-11-02 21:00:41 +08:00
|
|
|
echo.
|
|
|
|
echo ------------------------------------
|
|
|
|
echo Make sure you sanitize this output of private data prior to posting it online for review by the CMDER Team!
|
|
|
|
echo ------------------------------------
|
2021-09-18 00:22:25 +08:00
|
|
|
) > "%temp%\cmder_diag_cmd.log"
|
|
|
|
|
|
|
|
type "%temp%\cmder_diag_cmd.log"
|
|
|
|
|
|
|
|
echo.
|
|
|
|
echo Above output was saved in "%temp%\cmder_diag_cmd.log"
|
|
|
|
|
|
|
|
|