Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anything besides Run
Message
 
To
16/10/2001 10:39:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00568844
Message ID:
00569028
Views:
22
>George,
>
>I got your last reply and now have the dos window hidden and finishing the process(at least in part) before returning control back to teh rest of my code. The (at least in part) challenge. As soon as my batch file finishes I need to rename the files it has created(the names created are generated by the ccplot.exe and make no sense). I have tried =ADir() but it analizes the directory before the last file has completed and is always one file short of the actual. Again I need some kind of built in hesitation to make sure the =ADir() gets proper data. Thanks for the help.

Steven,

I assume that your batch file, since it seems to be a parameter, is required by the ccplot.exe. There are a number of ways to pause your program, but I'd recommend the Sleep API call. Simply pass it the number of milliseconds you want to the program to wait.
DECLARE Sleep IN Win32API;
  INTEGER nMilliseconds
= Sleep(100) && Wait a 1/10th of a second.
George

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

Click here to load this message in the networking platform