请问各位在bat文件中如何实现这个continue效果
@echo off
for /f "delims==" %%i in (text.txt) do (
if %%i==exit ( 这里想要实现类似continue的效果 )
)
pause
...全文
1522打赏收藏
DOS批处理命令
各位大侠 我用DOS命令写了一个bat文件,其中用到了for循环 现在想在某一条件满足的情况下,退出此次循环,进行下次循环 就好像c语言里面continue的效果 请问各位在bat文件中如何实现这个continue效果 @echo off for /f "delims==" %%i in (text.txt) do ( if %%i==exit ( 这里想要实现类似continue的效果 ) ) pause