I'm on NT 4.0. Are they generally available in 32-bit Window/DOS?
No. NT is so unlike DOS that it was necessary to spin off a separate
newsgroup for NT batch discussions: alt.msdos.batch.nt.
T.E.D. (tda...@gearbox.maem.umr.edu - e-mail must contain "batch" in the subject or my .sig in the body)
Yes. I'm hoping that newsgroup gets around soon. I have yet to see it.
Perhaps we defended it inadequately. Who knows?
Well, in NT, conIN$ and conOUT$ and conERR$ are apparently synonyms for
redirecting 1, 2, (3?).
Redirecting standard error is the same things as typing conERR$.
Redirecting to the screen (echoing or redirecting to CON) is the same as
redirecting to conOUT$.
Apparently these handles are useful even if the pipes have been redirected.
Good for teeing and whatnot.
Haven't played with it much, though.
I'd love to see any feedback from the rest of the NT users.
Still no alt.msdos.batch.nt on your site ? Try asking your administrator.
I have it, deja.com has it, others seem to have it too.
Dirk van Deun Ceterum censeo Redmond delendum
--
Currently at: di...@igwe.vub.ac.be http://student.vub.ac.be/~dvandeun
Permanent mail forwarder: dvan...@poboxes.com
--
Knight of the Order of the Command Line --- http://knights.rave.org
-Outsider
alt.msdos.batch.nt is still not provided by AT&T WorldNet. I submitted a
request to them early this morning to start carrying it. Their policy is that
message volume must be 15 messages in a seven-day period for them to
begin carrying it. So those of you who can, please post messages to it to
increase the traffic. Thanks!
That's a bit of a vicious circle, isn't it ?
(Note the crossposting...)
Yes, Dirk, the 'vicious circle' notion had occurred to me. Also, since I
was the one who submitted the request to AT&T WorldNet, I don't think
it is appropriate for ME to increase the message traffic by posting messages
myself . . .
Sorry about not specifying NT in the subject line. I just found this and
therefore didn't know it was nt-specific.
Documentation seems to suggest it's available to the win9x 32-bit api, but
my experiments suggest it isn't available to dos under those operationg
systems.
In NT's console it is available to batch files and the command-line as well
as programs written in languages that have access to the API.
I wonder if it goes anywhere closer to the elusive NT batch-only NT one-line
user input hack, which I have yet to see or figure out, since these handles
work very much like CON or the filter commands (sort, find, findstr).
It's an obsession of mine. QBasic does it fine currently. Win2K will
eliminate dos programs like QBasic, but make it irrelevent again with its
reported SET /P extension of the SET command. Still, there must be a way!
I see a thread on deja.com where Walter Zachery has posted at least 2
solutions on a thread called "obtaining user input . . .", but I don't see
the posts. It's incomplete on deja. Someone please re-post the solutions
to this or another thread (if another thread, please point it out with a
post here). Thanks.
type con|fc /lb1 test.txt test.txt|find /i /v "comparing"|find /i /v
"FC: "
Can someone re-post to one of the other NT Input threads so as to make it
visible again for continuation?
Or should a new thread be started?
Please forgive the NT posts. I still don't get the nt batch ng.
> I see a thread on deja.com where Walter Zachery has posted at least 2
> solutions on a thread called "obtaining user input . . .", but I don't see
> the posts. It's incomplete on deja. Someone please re-post the solutions
> to this or another thread (if another thread, please point it out with a
> post here). Thanks.
The following almost works, underline the almost.
con and nul can't be compared as files with fc, but an existing dummy file
can be compared to itself. /lb1 means 'only allow one line'. The
subsequent find commands filter out the output lines of fc ("comparing" and
"fc: ").
However, it doesn't work. It writes the "nonexistent pipe" error to the
screen and no amount of 2> standard error redirection will help get rid of
it. Because the user's input is sent to a nonexistent pipe, it is not
capturable to a file.
Please play with it and see if some other trick comes to mind.
type con|fc /lb1 test.txt test.txt|find /i /v "comparing"|find /i /v
"FC: "
: Yes, Dirk, the 'vicious circle' notion had occurred to me. Also, since I
: was the one who submitted the request to AT&T WorldNet, I don't think
: it is appropriate for ME to increase the message traffic by posting messages
: myself . . .
Maybe we can start a troll. This will do it:
Windows NT sucks !
(It's even entirely on-topic :-)
Bill James
Phil Robyn wrote in message <37D82268...@uclink4.berkeley.edu>...
>"Outsider (6.22/3.11)" wrote:
>
>> It's been on my server since day 1. There are now 9 messages.
>>
>> -Outsider
>>
>> Dirk van Deun wrote:
>> >
>> > : Yes. I'm hoping that newsgroup gets around soon. I have yet to see
it.
>> > : Perhaps we defended it inadequately. Who knows?
>> >
>> > Still no alt.msdos.batch.nt on your site ? Try asking your
administrator.
>> > I have it, deja.com has it, others seem to have it too.
>> >
>> > Dirk van Deun Ceterum censeo Redmond delendum
>> > --
>> > Currently at: di...@igwe.vub.ac.be http://student.vub.ac.be/~dvandeun
>> > Permanent mail forwarder: dvan...@poboxes.com
>> > --
>> > Knight of the Order of the Command Line --- http://knights.rave.org
>
Bill James
Dirk van Deun wrote in message <7r97tk$o0f$1...@mach.vub.ac.be>...
>: alt.msdos.batch.nt is still not provided by AT&T WorldNet. I submitted a
>: request to them early this morning to start carrying it. Their policy is
that
>: message volume must be 15 messages in a seven-day period for them to
>: begin carrying it. So those of you who can, please post messages to it
to
>: increase the traffic. Thanks!
>
>That's a bit of a vicious circle, isn't it ?
>
>(Note the crossposting...)
>
In article <7rak1b$3moi$1...@newssvr03-int.news.prodigy.com>,
"Bill James" <WGJ...@prodigy.net> wrote:
> So, we all just crosspost to get the volume up? Kind of defeats the
purpose
> of having a separate newsgroup, but this is my contribution.
>
> Bill James
>
> Phil Robyn wrote in message
<37D82268...@uclink4.berkeley.edu>...
> >"Outsider (6.22/3.11)" wrote:
> >
> >> It's been on my server since day 1. There are now 9 messages.
> >>
> >> -Outsider
> >>
> >> Dirk van Deun wrote:
> >> >
> >> > : Yes. I'm hoping that newsgroup gets around soon. I have yet
to see
> it.
> >> > : Perhaps we defended it inadequately. Who knows?
> >> >
> >> > Still no alt.msdos.batch.nt on your site ? Try asking your
> administrator.
> >> > I have it, deja.com has it, others seem to have it too.
> >> >
> >> > Dirk van Deun Ceterum censeo Redmond
delendum
> >> > --
> >> > Currently at: di...@igwe.vub.ac.be
http://student.vub.ac.be/~dvandeun
> >> > Permanent mail forwarder: dvan...@poboxes.com
> >> > --
> >> > Knight of the Order of the Command Line ---
http://knights.rave.org
> >
> >alt.msdos.batch.nt is still not provided by AT&T WorldNet. I
submitted a
> >request to them early this morning to start carrying it. Their
policy is
> that
> >message volume must be 15 messages in a seven-day period for them to
> >begin carrying it. So those of you who can, please post messages to
it to
> >increase the traffic. Thanks!
> >
>
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
It doesn't: we crosspost for a while to get the group noticed by ISPs
so that later the new group will be able to stand on its own. It's a
matter of bootstrapping out of the vicious circle:
no postings -> ISPs don't carry it -> no postings -> ...