FileRead reads the content of a text file to a variable.
FileRead, Output, FileName
- Output: variable that contains the file’s content.
- FileName: the name of the file, if the file is not in %A_WorkingDir%, then specify the full file path.
ErrorLevel is set to 0 if FileRead was successful.
Read a the file’s content into a variable.