I want to run these 3 .bat files in loop. Tried these 2 codes and got invalid syntax error from both
@echo off
:loop
start "c:\1.bat" && "c:\2.bat" && "c:\3.bat" &&
GOTO :loop
and
@echo off
for /l %%x in (1, 1, 9999) do (
start "c:\1.bat" && "c:\2.bat" && "c:\3.bat" &&
set /a loopCount=%loopCount%-1
if %loopCount%==0 GOTO:EOF
)