IF ADIR(laDummy, lcJpgNameOndisk) = 0 * File does not exists on disk>Thanks everyone. That fixed the problem except for one small little problem. file() finds the file in the exe. I was hoping to test for the file so I don't write it every time the program is launched. Not a show stopper by any means.
>>STRTOFILE(FILETOSTR('myfile.jpg'), lcFileOnDisk) >>