DOS : launching an app, and waiting it is finished
-
Hi !! In my batch, I need to launch an application, wait for it to be finished and then keep going with my batch. But unfortunately, as soon as my app is launched, the batch keeps going without waiting for the app ! When I try to launch manually from the Dos window the app, I can see that I get the prompt as soon as the app is launched. On the other hand, when I launch other apps, I don't get any prompt before the app is finished ! Why do I get those different behaviours ? How can I make sure the prompt will wait for the app to be finished ? thanks for your help ! Jerome
-
Hi !! In my batch, I need to launch an application, wait for it to be finished and then keep going with my batch. But unfortunately, as soon as my app is launched, the batch keeps going without waiting for the app ! When I try to launch manually from the Dos window the app, I can see that I get the prompt as soon as the app is launched. On the other hand, when I launch other apps, I don't get any prompt before the app is finished ! Why do I get those different behaviours ? How can I make sure the prompt will wait for the app to be finished ? thanks for your help ! Jerome
Are you using the Call command in your batch?
-
Are you using the Call command in your batch?
I tried with and without the 'Call' command, but it didn't change anything.....
-
Hi !! In my batch, I need to launch an application, wait for it to be finished and then keep going with my batch. But unfortunately, as soon as my app is launched, the batch keeps going without waiting for the app ! When I try to launch manually from the Dos window the app, I can see that I get the prompt as soon as the app is launched. On the other hand, when I launch other apps, I don't get any prompt before the app is finished ! Why do I get those different behaviours ? How can I make sure the prompt will wait for the app to be finished ? thanks for your help ! Jerome
I think there are two case: 1. You want to control the application that is running by yourself you could use the PAUSE command[^] to terminate your batch process. After you close the application then you can press any key to continue. 2. If you want to run it automatically without user respond, you should create your batch file in a seperate file then schedule it to run by an estimate period. For schedule the batch file to run in a specific time check AT command[^] for more information.
A thousand mile of journey, begin with the first step. APO-CEDC Save Children Norway-Cambodia Office