See if adding SYS(2335,0)helps
>I have scheduled task that runs a FoxPro program. The task kicks of the program but when the program ends it does not end the task or remove the program from memory.
>
>If I run the program by clicking on it, it runs and terminates correctly.
>
>I even went as far a having the program execute no code, but the process still stays in memory.
>
>Anybody had this problem? Is there a setting in the scheduled task steps that I am missing.
>
>Thanks in advance
--sb--