Skip to main content

File Exists

Files & FoldersFilesWrites files

Checks whether a file exists at the specified path.

Inputs

NameTypeRequiredDefaultDescription
File
filePath
fileRequired
Output Variable
outputVariable
variableOptionalFileExists

Output

$outputVariableObject

Object with the existence check result and the resolved file path. Reference {FileExists.exists} (boolean), {FileExists.path} (string), or {FileExists} alone (resolves to the path).

  • existsBoolean
  • pathString

Compatibility

WindowsLinuxAttendedUnattended

Related activities