- Documentation
- Activities
- Files & Folders
- File Exists
Checks whether a file exists at the specified path.
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
File filePath | file | Required | — | — |
Output Variable outputVariable | variable | Optional | FileExists | — |
Output
$outputVariableObjectObject with the existence check result and the resolved file path. Reference {FileExists.exists} (boolean), {FileExists.path} (string), or {FileExists} alone (resolves to the path).
existsBooleanpathString
Compatibility
WindowsLinuxAttendedUnattended
Related activities
Append Text File
Adds text to the end of an existing .txt file.
Copy File
Copies a file to a specified destination while keeping the original file unchanged.
Create File
Creates a new file at the specified location.
Delete File
Permanently deletes a file.
Get File Info
Returns metadata about a file: name, size, dates, and read-only flag.
Move File
Moves a file to a new location and removes it from the original location.