Read Text File

Read the contents of a text file into a variable.

FileReadTextFile

What it does

Read the contents of a text file into a variable.

Parameters

ParameterTypeRequiredDefaultDescription
File pathfile
RequiredSource file path.
Example: C:/temp/in.txt
Supports variables
Encodingdropdown
Auto · UTF-8 · UTF-8 (BOM) · UTF-16 · Latin-1
OptionalAuto
Store content invariable
RequiredVariable that receives the file content.
Example: fileText

More File commands

Ready to automate your busywork?

Start your free 10-day trial today. No credit card, no commitment.