David,
Thanks for the additional input. I tested with Ed's suggestion and it worked great with my main.prg. I haven't run from an .exe yet, but interactively I had to change the syntax to be:
do main with "\b","c:\input.txt"
Without the quotes and comma, VFP kept generating systex errors.
Kind Regards,
Mat Kennedt