@echo off set TOOLCHAIN_PATH=.\win 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 "all success!" pause