dllfile
asked on
Batch file under XP /wait (or wait for app to finish)
Hi, I am creating a batch file to automate lanching of my application, but I am wanting to launch the application and have the batch process wait until the application has finish (been exited/closed) before it continues.
I have tried the start /wait <my.exe> but it only waits until the application has started running before continuing.
Is there anyway to do this so I can have the batch file launch the exe, wait and when the program has finished running (even if it is running for a while) to continue after?
Help is greatly appriciated as I have been using pause to pause after start /wait, but then I have to press a key to continue with the batch and want to make it automated. I remember seeing it somewhere, been searching, but not found whereI had seen it. :/
Thanks!
I have tried the start /wait <my.exe> but it only waits until the application has started running before continuing.
Is there anyway to do this so I can have the batch file launch the exe, wait and when the program has finished running (even if it is running for a while) to continue after?
Help is greatly appriciated as I have been using pause to pause after start /wait, but then I have to press a key to continue with the batch and want to make it automated. I remember seeing it somewhere, been searching, but not found whereI had seen it. :/
Thanks!
http://www.ericphelps.com/scripting/samples/index.htm#Run
ASKER
kinda looking to do it without using a vbs script, just batch and maybe third party com/exe. I had found one somewhere before but lost the links I had saved (forgot to backup my favs when I reformatted) The batch will need to be able to do what it needs to on machines that have vbs disabled (such as mine)
ASKER
anyone? gotta be a way to do without using a vbs, third party exe/com would work as well, I had seen one before just cannot find the site again, was some guy who does all sorts of odds and ends for use with batch files. If you reply here, sorry if I am a bit late getting back, whole family here atm has the flu :/ I just got it and not feeling so well atm.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ahh, sweet that will work, cheers m8, much appriciated!