APPEND
From Dark Signs Online
Appends data to the end of a file
APPEND myFile.txt test 1 APPEND myFile.txt test 2 APPEND myFile.txt test 3 $myVar = test 4 APPEND myFile.txt $myVar
And myFile.txt will look like this
test 1 test 2 test 3 test 4