Skip to main content

Read File Content

Reads the entire contents of a file and returns it as a string. Inverse of Save to File.

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

The ReadFileContent activity in the designer

Example

outputVariable = ReadFileContent("<filePath>")

Inputs

NameTypeRequiredDefaultDescription
File PathstringYesThe full system path of the file to read.

Outputs

NameTypeDescription
outputVariablestringSpecifies the name of the variable that will store the file content.