Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running a batch file from VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00443873
Message ID:
00444056
Vues:
9
>Whenever I call a DOS batch file from VFP, it runs in a DOS window and then waits for a CTRL-C before proceeding. Is there any way to avoid this? I am trying to automate a process that must have a DOS batch file run.
>
>My code:
>
>lcExe1 = [run postal.bat "mail1120"]
>&lcExe1
>
>(KEYBOARD '{CTRL+C}' does not work)
>
>TIA,
Steve,

A lot of the problems associated with DOS batch files are addressed by the Windows Script Host. See the series of articles that Ed Rauh and I are writing for the VFUG newsletter. These are avaailable on-line at the VFUG site (www.vfug.org) beginning with last September's issue.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform