>Within my exe, I am creating a ascii batch file to send to other system. I end each line with a CHR(13) and when I open the file in notepad it looks great. But when I start toggling the wordwrap feature, it gets all screwy. When I first turn word wrap on, it looks the same, but when I turn it off, spreads it all out like it removed the carriage returns. I have posted some of the code and examples of the data in notepad below.
Use chr(13) + chr(10) as the end-of-line separator.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)