我试图了解代码中的确切位置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
for-loop batch-file
batch-file ×1
for-loop ×1