I have a batch code that calls another program (meshlab) in a loop, the average time for one instance is about 6 minutes, some times it takes much more than that (possibly stuck in some complicated calculations). So I would like to know if there is a possibilty where I can set a timer for the loop to go on to the next step. Here is an example of the code:
FOR %%I IN (C:\Users\Salam\Desktop\PreProcessed_Bosphorus\bs!var!\*.ply) DO (
meshlabserver -i %%~dpnxI -o %%~nI.ply -s C:\Users\Salam\Desktop\PreProcessed_Bosphorus\iso_per.mlx -om vn -l %%~nI.txt
)