Next Topic

Previous Topic

Book Contents

DoesFileExist

int DoesFileExist(string sFile);

Return values

Non zero if the function is successful; otherwise 0, and a specific error code can be retrieved by calling global function GetLastError.

Parameters

  • sFile - Path and name of the file.

Remarks

Returns a non zero value if the file exist.