ReadRegStr $3 HKLM "System\CurrentControlSet\Control\ComputerName\ActiveComputerName" "ComputerName"
StrCpy $1 $3 4 3
FileOpen $4 "$TEMP\$3Test.txt" "r"
FileRead $4 $5
FileClose $4
MessageBox MB_OK "$5" Reading a file with the content:TESTTEST
TESTEST It outputs only TESTEST. I need it to read the entire file and not stop at a newline or return. Any ideas?