This is how I launch Notepad.exe from my program ...
INTEGER FUNCTION Launch1_FN()
C -------------------------------
C
C Launch Notepad as file editor
C
C -----------------------------------------------------------------
INTEGER START_PPROCESS@
IA = START_PPROCESS@('Notepad.EXE',' ')
Launch1_FN = 1
END
You could be far more sophisticated than this. For example, check IA to see if Notepad did actually launch/ In the second set of apostrophes, you could put the file name you want to edit.
Launch1_FN is an Integer Function so it can be used as a callback from a Menu item (or a button) in a Clearwin program.
Regards
Eddie