Hilmar,
Couldn't you use VFP's native DELETE FILE?
>>It depends on what process do you run in DOS.
>>Perhaps you may use options like '\pause', or redirect the DOS output to the file and then display the content.
>
>The following sample program replicates my troubles. Note that if you add one more line ("?"), the first line will scroll of the screen.
>
>
>clear
>? "Line 1"
>? "Line 2"
>run del hopefullynonexistentfile.ext
>? "Line 3"
>
>
>Hilmar.
Daniel