Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anything besides Run
Message
From
16/10/2001 10:50:03
 
 
To
16/10/2001 10:39:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00568844
Message ID:
00569032
Views:
23
Steven,
I've run into a similar problem renaming a ZIP file. The file was still in use eventhough the process had finished. Try adding a timeout after the DOS program has termninated e.g. WAIT TIMEOUT 2 and see if this helps.

>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.
Daniel
Previous
Reply
Map
View

Click here to load this message in the networking platform