0
我需要知道如何和我有什么对蝙蝠命令调用名为.txt
for /f %%a in (C:\communitylist.txt) do call :LOOP %%a
:LOOP
start myCommand
timeout 20
goto :LOOP
进入我如何让它跳到TXT的下一行?
现在它停留在从TXT
的第一行txt文件我对第一行代码,在第二线和第二码等
我需要知道如何和我有什么对蝙蝠命令调用名为.txt
for /f %%a in (C:\communitylist.txt) do call :LOOP %%a
:LOOP
start myCommand
timeout 20
goto :LOOP
进入我如何让它跳到TXT的下一行?
现在它停留在从TXT
的第一行txt文件我对第一行代码,在第二线和第二码等
只是goto :eof
取代goto :LOOP
,结束你的“子程序”并继续执行for
命令。
但您创建了一个无限循环。并且goto打破了'FOR'上下文。 – npocmaka 2014-11-22 15:23:46