Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dos BAT file Question
Message
From
20/04/1999 15:05:14
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00207637
Message ID:
00210253
Views:
23
It uses an existing exe that talks to a server, you pass certain parameters and in return the EXE will create a log file from which you will have to go and check for the status for that process.
I used the AppRun call because it is very useful when it comes to pause the event and wait 'till is done, but doing it for NT is different.
Now it seems that the qty of process being submitted thru the program requires from me to split the process into X many instances of the same EXE running in different DOS boxes, that way instead of waiting 30 minutes to process 8000 rec/transactions I could split the process into 4 aie. and then wait only 6 to 7 minutes..
Now it is working but I am doing some stuff that I do not like but It works..
perhaps is there another tool/class outthere that will allow me to check whenever the BAT/DOS box has finish and then cycle thru the instances and then and only then pass the control back to VFP..




>Hi Mark,
>
>What exactly do your batch files do? Perhaps there is a better solution to the problem.
>
>>I am using The Process class to initiate a BAT file, that I created using VFP, the BAT name changes everytime.
Previous
Reply
Map
View

Click here to load this message in the networking platform