Function reference
Test to see if a file exists.
FileExist(filename)
Argument | Description |
String | A string representing the filename |
Data type: Boolean
Returns truevalue if the file exists and falsevalue if it does not exist.
Example:
This expression returns It is there if the file exists – and returns Not found if the file does not exist.
If ( FileExist(‘c:\myfolder\myfile.txt’ , ‘It is there’ , ‘Not found’)
Last modified:
14 September 2021
Post your comment on this topic.