Xojo.IO.FolderItem.Exists
From Xojo Documentation
Read-Only Property (As Boolean )
Indicates whether the FolderItem exists.
Notes
You can create a FolderItem that does not refer to actual existing file on disk. When you do so, this property returns False.
Sample Code
To check if a file exists: