I am trying to read a text file, and when using FileOpen it returns nothing.
Code is as follows:
Func LoadConfFile()
Local $confFile = $confFolder & "/test.txt"
$FileOpened = FileRead($confFile)
If @error Then
MsgBox(0, "ERROR!", @error)
else
MsgBox(0, "file:", $FileOpened)
endif
EndFunc
What am I doing wrong here?