A very simple question to understand semantic of a batch running. please look at this piece of code
FOR /F %%x IN (file.txt) DO (
if /i "%~1"=="%%x" goto :label
if /i "%~1"=="%%xYZ" goto :label
)
:label
......
After jumping to the label, Is then batch come back to the for loop automatically? If else, is there a means to do it come back to the for loop? Thanks