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:
00443880
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 McMahon
>ZDI
>San Diego


Create a FOXRUN.PIF file that resides in your default directory and change the properties to close the DOS window on exit.

Cathy
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform