windows batch file call command for 200 times.
call
: Calls one batch program from another without stopping the parent batch program. The call command accepts labels as the target of the call.
REM call command for 200 times
FOR /L %%A IN (1,1,200) DO (
ECHO %%A
echo generate done
REM pause
call work_bat_0.bat
REM pause
call work_bat_1.bat
echo done.
REM pause
)
pause
& separates commands on a line.
&& executes this command only if previous command's errorlevel is 0.
|| (not used above) executes t