Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running a batch file from VFP
Message
From
20/11/2000 17:51:14
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00443873
Message ID:
00443878
Views:
15
>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.


Steve

Try creating a PIF file (shortcut) with the same name as your batch file ie postal.pif. In the properties for this shortcut tick the 'Close on Exit' checkbox in the Program tab.

Cheers
Charlie
Previous
Reply
Map
View

Click here to load this message in the networking platform