Why don't you use the RUN command?
>Dear all,
>
>I'm trying to run an external batch file with the following code
>
>nRet = shellexecute(FindWindow( 0, _SCREEN.CAPTION),"open",{Batch file},"","",1)
>
>But it failed in some workstations (NT 4.0).
>Any ideas? Or alternatives?
>
>Thank you, Wilfred
Why do programs stop working correctly as soon as you leave the Fox?