Hello I am processing loose files and have a text-file list of paths. Using the GetFileAttr(path$) it works just fine as I can separate out the directories from the files themselves. Problem - when the code encounters a bad file name I can't trap the error, Notes pops up a "File Not Found" error and the code terminates.
Is there a better way to test string values to see if they are valid files? I have tried putting in an err_handler but Notes simply produces the "File Not Found" error pop-up.
To test the problem you can code a button with the follwing script:
msg$ = Inputbox$("enter a file name", "filename","c:boc.txt")
Thanks for your help - Mike