I’m trying to create a .bat file to execute a flash video on a 10 s time interval in an infinite loop. So far I have…
ECHO OFF
:TOP
START /d "path" program.exe
SLEEP 10
TASKKILL /F /IM program.exe
GOTO TOP
It needs to restart the video after 10 seconds, but it just turns it on and that’s it. Help!
Try this instead:
Haven’t changed much but I haven’t used
SLEEPso not sure if that’s causing the issue.