1.

Solve : Run a batch while sleeping?

Answer»

Hello everyone! I'd like to have a second batch run while the first is in delay, displaying a message to wait. I also want it to run after killing explorer. I've DOWNLOADED and using sleep.exe for the delay/display, but unsure if the second batch is actually running during the sleep, or if it runs COMPLETELY before sleep starts, or if sleep kills it. In general, the second batch will run very quickly, but MAY take upwards of 5 to 7 seconds, so have sleep set at 10. Does sleep put everything to sleep, or just the batch it's running from?

Not SURE if it matters, but this is intended to run on XP.

Any help would be APPRECIATED. Batch files are completely new to me.After posting I got a brainstorm and answered my own question. I put batch 2 into an endless loop and watched it run continuously during the 10 second sleep.



Discussion

No Comment Found