New
#1
How to loop a software using batch file
Hi,
I have a software that runs from command line, and it needs 2 command windows to run in parallel.
So I use a .bat file to start both commands using START.
Something like:
START program.exe -m method1
START program.exe -m method2
One method runs for 10 hours and the other for 11 hours, then each batch command window closes.
How can I run both methods in loops instead of having to restart each manually?
Edit: since they do not end in the same time, I'm waiting for the second method to end and then I start both together, but then there's a time when the first method is not running because it ends earlier, although it needs to keep running immediately when it finishes
Thanks
Last edited by mibaup; 15 May 2021 at 00:39.