Jacky,
You can run notepad and pass in the filename for it to edit:
run /n notepad.exe abc.txt
The '/n' stands for 'nowait' and also is used when running a Windows program.
HTH
Barbara
>Hi ,
> Can Foxpro run the default program with command line ?
> Such as ! abc.txt or winexec ("abc.txt") then open notepad.
> I try some methods but fail.
> Any suggestion ?
>
> Thanx in advise.