Can we use IF condition inside the for loop in batch scripting?

后端 未结 0 782
孤街浪徒
孤街浪徒 2021-01-17 16:32
set STR1= FINISHED

for /f "tokens=4,* delims=:" %a in (filename.txt) do (if %b == %STR1% (echo "SUCCESS") else (echo %b))

I am

相关标签:
回答
  • 消灭零回复
提交回复
热议问题