@echo off set TOOLCHAIN_PATH=.\win @REM 切换到工具链目录 cd %TOOLCHAIN_PATH% .\hdc.exe kill .\hdc.exe shell hilog -w stop .\hdc.exe shell hilog -r .\hdc.exe shell hilog -w start -l 100M -m none .\hdc.exe shell hilog -Q pidoff .\hdc.exe shell hilog -p off .\hdc.exe shell hilog -b D .\hdc.exe shell hilog -w start -t kmsg -m none echo "操作完成" pause