Skip to main content

Check for File

Checks whether a file or directory exists. If it does, the output will be true; otherwise, it will be false.

Category: File & Folder Operations · Group: Files · Activity name: FileExists

The FileExists activity in the designer

Example​

outputVariable = FileExists("<document>")

Inputs​

NameTypeRequiredDefaultDescription
File PathstringYesPath of the file or directory to check for existence.

Outputs​

NameTypeDescription
outputVariablebooleanSpecifies the name of the variable that will store the boolean result.