The redirectoutput method seems easy enough.

A simple:
...
IF REDIRECTOUTPUT("c:\test.bat") = 0
? "type c:\report.txt>c:\%computername%.txt"
?
ENDIF
...
should work.. maybe too obvious. Alternately, you can open the file and add a line:
...
IF OPEN (1,"c:\test.bat",4) = 0
$ok = WRITELINE (1,"type c:\report.txt>c:\%computername%.txt" + @CRLF)
$ok = CLOSE(1)
ENDIF
....
If you're using an older version of kix, then don't use + @CLRF but + chr(13) + chr(10) to add a carriage return and line feed.

This would be another method that should also work.

Brian