title: batch script "continue" in loop?
body: <p>do ( ) wasn't working for the code I got online so instead I'm using do :processline.
  The problem is "continue;" doesn't work when wanting to go to the next iteration. The problem with this is it's executing :eof for each iteration rather than post loop...how to avoid this? Thanks</p>
  
  <pre><code>SET NGCSV=UserList3Col.csv
  SET NGCSVT1=UserList3Col.csv.temp1
  SET NGCSVT2=UserList3Col.csv.temp2
  SET NGFINAL=UserListFinal.csv
  del %NGFINAL%
  set /a c=0
  for /f "tokens=1" %%i in (groupList.txt) do call :processline %%i
  goto :eof
  
  :processline 
  SET GROUP=%*
  setlocal EnableDelayedExpansion
  net group /domain "GG-%GROUP%" &gt; %NGCSV%
  REM * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
  REM Now strip out the crap
  REM ...make a temporary copy
  COPY %NGCSV% %NGCSVT2%
  REM ...strip off the crap using alternating temp files
  findstr /B /L /V /C:"The request" %NGCSVT2% &gt; %NGCSVT1%
  findstr /B /L /V /C:"Group name" %NGCSVT1% &gt; %NGCSVT2%
  findstr /B /L /V /C:"Comment" %NGCSVT2% &gt; %NGCSVT1%
  findstr /B /L /V /C:"Members" %NGCSVT1% &gt; %NGCSVT2%
  findstr /B /L /V /C:"-----" %NGCSVT2% &gt; %NGCSVT1%
  findstr /B /L /V /C:"The command" %NGCSVT1% &gt; %NGCSVT2%
  REM ...make the last temporary copy the final copy and clean up
  COPY %NGCSVT2% %NGCSV%
  DEL %NGCSVT1%
  DEL %NGCSVT2%
  REM * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
  REM ...Column 1
  for /F "tokens=1" %%A in (%NGCSV%) do @echo %GROUP%,%%A &gt;&gt; %NGFINAL%
  REM ...Column 2
  for /F "tokens=2" %%A in (%NGCSV%) do @echo %GROUP%,%%A &gt;&gt; %NGFINAL%
  REM ...Column 3
  for /F "tokens=3" %%A in (%NGCSV%) do @echo %GROUP%,%%A &gt;&gt; %NGFINAL%
  del %NGCSV%
  continue; rem Doesn't work
  
  :eof
  set /a c=c+1
  echo %c%
  </code></pre>