Ohh, sorry.
There's 2 ways of doing that:
1) get your strings before you write then to the file:
print #outfile, My1Str & My2Str & ....
2) Open the file for binary and use put to write to the file
Open "c:\tmp\text.txt" for binary as #outfile
put #outfile,,"hello, "
put #outfile,,"my name is sunaj"
close #outfile
would produce a file with one line: "hello, my name is sunaj"
Sunaj