SetVarFromTextFile: Assign the text content of a file to a variable.
File encoding is automatically detected among the following:
UTF8 with BOM
UTF8
UTF16 LE with BOM
UTF16 BE with BOM
ASCII/ANSI (default)
Tag Attributes
Attribute Name | Attribute Value |
---|---|
Name | Any unreserved name. Reserved name are listed on: Variables - Required |
FilePath | Input file path. |
Verbose | When set to TRUE, displays a console trace for each element added to the list Defaults to TRUE |
Example script
XML
|