Detecting presence of a file path ...

Of course Xojo produces ways to test that a folder exists and the try/catch approach seems to work. But if a path that starts with a volume that doesn’t even exist (like you moved the whole tree on a different drive or the path is a reference on a different machine), is the safest way to validate the path by “walking it from the volume” one folder at a time?


Then I would expect the Folder Item to be Nil as it would represent an INVALID path
FolderItem is not nil if the path is VALID (as in does or COULD exist),
and if the volume did not exist then the folderitem could not represent a valid path…
Also when checking multi level paths, you should check them one level at a time if you are not sure (starting with parent level)

Thanks, Dave!