Jack,
The FAQ is
Launch App and wait w/o RUN or DOS box FAQ #7774. The Launchappandwait method of api_apprun class will launch program specified, wait for it to finish and exit. If it doesn't exit than program or whatever it launched still executing. What's pkzip25, EXE, BAT?
>
>Ok, I placed it in the code and it runs the zip from a UNC path just fine but the "Launchappandwait()" does not terminate upon completion of the extraction and allow the code to go the the "DO update1" command. The download for apprun talks about an FAQ #7798 that I cannot seem to find. I assume it contains the syntax information for use. How do you tell this class to continue?
>
>
>oApiRun = NEWOBJECT("api_apprun", "Process")
>oApiRun.iccommandline = "pkzip25 -ext -dir -over=all update"
>oApiRun.Icwindowmode = "NORMAL"
>oApiRun.Launchappandwait()
>
>syscountry = 1
>DO update1
>
>DELETE FILE UPDATE.ZIP
>DELETE FILE *.BAK
>DELETE FILE *.TBK
>CLEAR
>RETURN
--sb--