cmder/vendor/bin/cmder_diag.cmd

62 lines
1.6 KiB
Batchfile
Raw Normal View History

@echo off
2021-09-18 00:22:25 +08:00
(echo.
echo ------------------------------------
2023-02-13 01:46:16 +08:00
echo Get Cmder env variables...
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="
echo.
echo ------------------------------------
2021-09-18 00:22:25 +08:00
echo where git
echo ------------------------------------
2021-09-18 00:22:25 +08:00
where git
echo.
echo ------------------------------------
2021-09-18 00:22:25 +08:00
echo where clink
echo ------------------------------------
2021-09-18 00:22:25 +08:00
where clink
echo.
echo ------------------------------------
2021-09-18 00:22:25 +08:00
echo systeminfo
echo ------------------------------------
2021-09-18 00:22:25 +08:00
systeminfo
echo ------------------------------------
echo dir "%cmder_root%"
echo ------------------------------------
dir "%cmder_root%"
echo.
echo ------------------------------------
2021-09-18 00:22:25 +08:00
echo dir "%cmder_root%\vendor"
echo ------------------------------------
2021-09-18 00:22:25 +08:00
dir "%cmder_root%\vendor"
echo.
echo ------------------------------------
2021-09-18 00:22:25 +08:00
echo dir /s "%cmder_root%\bin"
echo ------------------------------------
2021-09-18 00:22:25 +08:00
dir /s "%cmder_root%\bin"
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
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"