>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)
George
Ubi caritas et amor, deus ibi est