Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anything besides Run
Message
 
À
15/10/2001 19:25:07
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00568844
Message ID:
00568931
Vues:
22
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform