Well, we don't have a DOS section
we have a bunch of programs that are VB based, and since they require connection to the database (oracle) every now and them we have to restart them. Also, when an update requires to restart the computer we have to re-open every one of this programs one by one.
So, I decided to create a batch file, and with 2 click open them all. No problem, right??? welll, nooo
This programs since they have to connect to the database, and create a comom temp file, need to be open one at a time.
My problem is that I haven't got a clue how to add a wait time in the batch file. If I add the switch /WAIT it waits until it terminates, which is no good.as an example lets imagine I want to open 4 programs called techzonez1.exe; techzonez2.exe; techzonez3.exe; techzonez4.exe and the batch file is called techzonez.bat, which has this:
START C:\Techzonez\techzonez1.exe
START C:\Techzonez\techzonez2.exe
START C:\Techzonez\techzonez3.exe
START C:\Techzonez\techzonez4.exe
I have to use START because if not used, it waits until techzonez1.exe terminates before starting techzonez2.exe.
What I would like is to add a wait of 45 second for the first one (to open a connection to the databse) and then 15 second to the rest.
How do I do that??