Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #12173

Re: openttextfile ForAppend ignores EOF (Ctrl-Z) ?

From "R.Wieser" <address@not.available>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: openttextfile ForAppend ignores EOF (Ctrl-Z) ?
Date 2019-08-16 18:11 +0200
Organization Aioe.org NNTP Server
Message-ID <qj6kk8$k7m$1@gioia.aioe.org> (permalink)
References <qj5qcd$ris$1@gioia.aioe.org> <qj6bss$7fd$1@dont-email.me>

Show all headers | View raw


Mayayana,

> 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.

Regards,
Rudy Wieser

Back to microsoft.public.scripting.vbscript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

openttextfile ForAppend ignores EOF (Ctrl-Z) ? "R.Wieser" <address@not.available> - 2019-08-16 10:43 +0200
  Re: openttextfile ForAppend ignores EOF (Ctrl-Z) ? "Mayayana" <mayayana@invalid.nospam> - 2019-08-16 09:42 -0400
    Re: openttextfile ForAppend ignores EOF (Ctrl-Z) ? "R.Wieser" <address@not.available> - 2019-08-16 18:11 +0200
      Re: openttextfile ForAppend ignores EOF (Ctrl-Z) ? "Mayayana" <mayayana@invalid.nospam> - 2019-08-16 13:21 -0400
        Re: openttextfile ForAppend ignores EOF (Ctrl-Z) ? "R.Wieser" <address@not.available> - 2019-08-16 20:08 +0200
    Re: openttextfile ForAppend ignores EOF (Ctrl-Z) ? "R.Wieser" <address@not.available> - 2019-08-16 19:16 +0200
  Re: openttextfile ForAppend ignores EOF (Ctrl-Z) ? JJ <jj4public@vfemail.net> - 2019-08-17 01:13 +0700
    Re: openttextfile ForAppend ignores EOF (Ctrl-Z) ? "Mayayana" <mayayana@invalid.nospam> - 2019-08-16 15:18 -0400
      Re: openttextfile ForAppend ignores EOF (Ctrl-Z) ? JJ <jj4public@vfemail.net> - 2019-08-19 02:19 +0700
        Re: openttextfile ForAppend ignores EOF (Ctrl-Z) ? "Mayayana" <mayayana@invalid.nospam> - 2019-08-18 16:25 -0400
          Re: openttextfile ForAppend ignores EOF (Ctrl-Z) ? "Wendelin Uez" <wuez@online.de> - 2019-09-28 19:18 +0200
            Re: openttextfile ForAppend ignores EOF (Ctrl-Z) ? "Mayayana" <mayayana@invalid.nospam> - 2019-09-28 14:47 -0400

csiph-web