Path: 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: Date: 20 Jun 91 14:55:54 GMT References: <91170.021840ADVI8733@Ryerson.Ca> Lines: 19 Nntp-Posting-Host: dn71.dse.beckman.com 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.