Use this function to determine if a file exists.
[Ok :=] File.EXISTS(Name)
Type: text or code
The name of the file you want to check, including the path. When you enter the path, keep in mind these shortcuts:
You can omit the drive designation, if the file is located on the current drive.
You can omit the full path, if the file is located in the current directory.
You can enter only the subdirectory name, if the file is located in a subdirectory of the current directory.
Property Value/Return Value
This return value shows whether the file exists.
true if the file exists; otherwise, false.