小编s63*_*ser的帖子

GOTO:EOF返回哪里?

我试图了解代码中的确切位置GOTO :EOF返回?

这是代码:

SET count=1 
FOR /f "tokens=*" %%G IN (somefile.txt) DO (call :subroutine "%%G") 
GOTO :EOF

:subroutine  
echo %count%:%1  
set /a count+=1  
GOTO :EOF
Run Code Online (Sandbox Code Playgroud)

for-loop batch-file

29
推荐指数
2
解决办法
6万
查看次数

标签 统计

batch-file ×1

for-loop ×1