ArcBasicDocs

FileType

0 = missing, 1 = file, 2 = folder.

FileType ( filename$ )

Parameters

filename$
the file or folder name.

Description

Tells you what a name refers to: 0 if nothing exists by that name, 1 if it's a file and 2 if it's a folder. Use it to check for a saved game before loading it.

See also