Make sure you check for the file first. You may not actually be copying it.
>Hello Everybody!
> I have an application that takes some code stored in a memo field and copies it to a file, like COPY MyMemoName TO (lcMyFileName). Once it does that it
>execute the file with DO (lcMyFileName). lcFilename has the path, like
>'c:\temp\FileName.prg'. During development everything works beautifull, but at run time it tells me 'Error #1 file does not exist", I can't figure out the problem!
> Any Ideas.
>
> Thanks in advance.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer