0

I need to create a batch script that launches a program, and waits for up to 1 minute for the program to finish, and then do something else. The exact steps are:

  1. Launch program A
  2. Wait for program A to finish OR kill it if not finished within 1 minute.
  3. Launch program B

To emphasise, in step 2, I do not want to wait for the full 1 minute if program A is finished within say, 5 seconds.

badhaircut
  • 355
  • 4
  • 8

0 Answers0