Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anything besides Run
Message
 
To
15/10/2001 19:25:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00568844
Message ID:
00568931
Views:
21
>Is there any way to get this code to keep from displaying the dos window and still wait until process is complete?
>Run /2 D:\ccdraft\bin\ccplot.exe -rk tempjan.bat
>
>I have tried the api_apprun but I still can't get the process to finish before my rename command kicks in.
>
>Thanks

Use the WScript.Shell object's Run method. It supports an optional parameter that will cause the calling application to wait until the called application terminates. For details, see the second in the series of articles Ed Rauh and I wrote for the VFUG newsletter. It appeared in the October, 2000 issue and is available on-line at www.vfug.org.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform