Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Batch File - Run Next Program When 1st Complete  (Read 4351 times)

0 Members and 1 Guest are viewing this topic.

gbc1234

  • Guest
Batch File - Run Next Program When 1st Complete
« on: August 02, 2004, 05:24:24 AM »
 ???

Hi,

Can anyone help with the code that would be required to do the following :

execute program c:\download.exe
and ONLY WHEN THIS FINISHES,
execute program c:\import.exe
end

download.exe creates a file called c:\output.raw so would I need to check to see if this has stopped being created etc or is there some other way I can check for download.exe finishing before running import.exe?

Help appreciated. Thanks.

:'( G.

johnwill

  • Guest
Re: Batch File - Run Next Program When 1st Complet
« Reply #1 on: August 02, 2004, 08:12:51 AM »
Under plain MS-DOS, you can just put the two programs in the batch file one after the other, the second program won't be invoked until the first one terminates.  If this isn't what you're talking about, please be a bit clearer on what you're trying to do.