{{tag>Function Function_List Files Version:v8.1}} ====== READ_TEXT_FILE ====== ===== Description ===== Returns the textual contents of the specified file ===== Syntax ===== ''READ_TEXT_FILE (path)'' Cannot be used in the condition of a [[:ref:a_f:a:find|FIND]] action. ===== Parameters ===== An expression returning a string identifying the full path of the textual file ===== Returns ===== **Text**: the textual contents of the file at the given full path. ===== Example ===== Object.Attribute = READ_TEXT_FILE('c:/temp/myFile.txt') ===== Related ===== [[ref:a_f:f:af:file_exists|FILE_EXISTS]], [[ref:a_f:f:af:file_name|FILE_NAME]], [[ref:a_f:f:af:file_size|FILE_SIZE]], [[ref:a_f:f:af:file_last_modified|FILE_LAST_MODIFIED]]