🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.misc
Article #3439

Re: redirect stderr?

#3439
From: Arthur Rubin
Date: Thu, 20 Jun 1991 14:55
19 lines
1143 bytes
In <91170.021840ADVI8733@Ryerson.Ca> ADVI8733@Ryerson.Ca (Tom Ng) writes:


>  Is it possible to redirect stderr under msdos?  It would be nice if
>I could choose the stream to redirect like in Unix. (eg. 2>)  Some
>sort of TSR kludge would fine.
>  Does dos 5.0 allow this sort of flexibility?

MicroSoft C provides a utility called ERROUT, called as:

ERROUT /f standarderrorfile doscommandline

I think it just redirects its stderr to file, and calls the doscommand.
I assume there are utilities in the usual places, but I haven't needed them.

--
2165888@mcimail.com 70707.453@compuserve.com arthur@pnet01.cts.com (personal)
a_rubin@dsg4.dse.beckman.com (work)
My opinions are my own, and do not represent those of my employer.
Technical Details
Message-ID: <a_rubin.677429754@dn71>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!orion.oac.uci.edu!beckman.com!dn71!a_rubin
References: <91170.021840ADVI8733@Ryerson.Ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!orion.oac.uci.edu!beckman.com!dn71!a_rubin
From: a_rubin@dsg4.dse.beckman.com (Arthur Rubin)
Newsgroups: comp.os.msdos.misc
Subject: Re: redirect stderr?
Message-ID: <a_rubin.677429754@dn71>
Date: 20 Jun 91 14:55:54 GMT
References: <91170.021840ADVI8733@Ryerson.Ca>
Lines: 19
Nntp-Posting-Host: dn71.dse.beckman.com