>Is there any way to get this code to keep from displaying the dos window and still wait until process is complete?
>Run /2 D:\ccdraft\bin\ccplot.exe -rk tempjan.bat
>
>I have tried the api_apprun but I still can't get the process to finish before my rename command kicks in.
>
>Thanks
Use the WScript.Shell object's Run method. It supports an optional parameter that will cause the calling application to wait until the called application terminates. For details, see the second in the series of articles Ed Rauh and I wrote for the VFUG newsletter. It appeared in the October, 2000 issue and is available on-line at
www.vfug.org.
George
Ubi caritas et amor, deus ibi est