>I have a VFP6 program that I am running from a desktop shortcut (target is "D:\dev\switch\switch.prg"). I get the error "File 'strtofile.prg' does not exist." on the line of code "STRTOFILE(lcStartin, "C:\foxtmp\pathfile.txt")". However when I suspend execution at this error, and enter the same line of code into the Command Window it executes fine. Any suggestions are appreciated.
Is the shortcut loading VFP 6 or an earlier version?
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright