Skip to main content


STD.File.FileExists( filename [, physicalcheck ] )

filenameA null-terminated string containing the logical name of the file.
physicalcheckOptional. A boolean TRUE/FALSE to indicate whether to check for the physical existence the filename on disk. If omitted, the default is FALSE.
Return: FileExists returns a BOOLEAN value.

The FileExists function returns TRUE if the specified filename is present in the Distributed File Utility (DFU). If physicalcheck is set to TRUE, then the file's physical presence on disk is also checked.


A := STD.File.FileExists('~CLASS::RT::IN::People');

See Also: SuperFileExists