Xbasic Functions file.exists() Alpha Documentation Example filename = "c:\a5\defaults.txt" result = FILE.exists(filename) If result 'file does exist ' do something with that file else ' don't attempt to find the file end if