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

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment