Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running a batch file
Message
 
To
19/03/2001 13:22:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00486542
Message ID:
00486551
Views:
15
>I am running a batch file from within a VFP6 app that zips up files and sends them to a backup directory. The app doesn't wait for the zipping to occur it continues processing and nothing gets zipped or backed up. Any help would be appreciated.
>
>! BACKUP.BAT
>
>What I want to happen is for the app to wait until all of the files named in the backup.bat file to be zipped before executing the next line of code.

Ed Rauh has a file here that will do this. I believe it's called API_APPRUN. It's can also be done with the Windows Script Host's Shell object's Run method.
George

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

Click here to load this message in the networking platform