> Since the WSH was written late 20th century, I guess
> it uses the "modern" standard. :)
Grumble, grumble. All that newfangled stuff ... grumble. :-)
> Which makes me wonder how you got a Chr(26) into
> the file in the first place.
Easy. I've got a DOS era text-editor here (Norton Editor, 1986) which does
that when I close the file.
And yes, that still is my to-go editor. It still works well and I do not
seem to require more that what its made for, ASCII text editing. Heck, it
even got a "reformat paragraph" feature !
> You've been ending files with Ctl+Z all these years and
> didn't notice that it didn't do what you expected?
:-) It only became a probblem when using WSH and trying to append to that
file. In other cases (opening the file with Notepad or Write) I simply
delete the last, displayed as a rectangle, char and append to the bottom.
The editor has no problem reading files without an EOF.
> You might also be interested to know that you can no longer
> buy hay for your horse on the town common. Why? Beats me.
> The world's gone crazy. :)
First the the horse whips, and now the hay too ? Whats next, my T65
rotatry dial landline phone (still got a one laying about here - not
attached though) ? :-)
Yeah, yeah, I know I'm a "bit" conservative. I simply seldom replace whats
still working well. This (the pasting from Windows) is the second
"problem" I had with it (the first one was not having LFN support, but that
was rather easily fixed - and I did that only about two years ago).
Hmmm... I might try to find where it writes that EOF, and NOP it out ...
Ofcourse, that would only solve it for that one program.