FileExists

<< Click to Display Table of Contents >>

Navigation:  Handling Events via Scripting > Objects and Functions > File management functions >

FileExists

function FileExists(FileName: string): boolean;

 

This function checks if a file on disk exists.

 

Parameters

FileName

The full path of the file to check. Ex: 'C:\Files\MyDoc.txt'

 

Return value

True

The specified file exists

False

The specified file does not exist