我尝试以下代码,但是当我添加粗体行时它失败了
:Is_Error_file_empty
for /f "tokens=1,3" %%x in (%TMPLog%) do (
if "%%x"=="ERROR" SET err=TRUE(
**call :a %1**
)
:a
if %1 neq "c" (
echo echo ERROR: you had an error with copying files,please see in error.log for details.
)