Thanks Shawn

Your right. The CHR(0) should not be in the file. The reason I ended up with a 0 byte file in the first place was becuase my code did not check and verify that the program was downloaded and run correctly. The shell created the file on its own without the program. Thus leaving me an empty file. This made me add more error checking in my code (a good thing I guess), had my code been better I might not have found this issue.

Your code does appear to function correctly with KiXtart v3.63 - What is different in 2001 RC3 that allows it to work with the previous code?