From: peuha AT cc DOT helsinki DOT fi (Esa A E Peuha) Newsgroups: comp.os.msdos.djgpp Subject: Re: rhide/call trace back - small question Date: 28 Feb 1997 10:16:26 GMT Organization: University of Helsinki Lines: 17 Message-ID: <5f6b9q$8vt@oravannahka.Helsinki.FI> References: <330D08FC DOT 4034 AT mbnet DOT mb DOT ca> <330EC4AB DOT 77E1 AT cs DOT com> <330F813E DOT 77E1 AT mbnet DOT mb DOT ca> Reply-To: Esa DOT Peuha AT helsinki DOT fi NNTP-Posting-Host: kruuna-ether.helsinki.fi Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Alex Demko (ademko AT mbnet DOT mb DOT ca) wrote: : Great, thanks! Also, is there a way to redirect stderr under plain DOS : (ie. someone who doesn't have djgpp, bash and other such utils : installed)? Again, rhide does this so maybe it's built into djgpp : executables (like globbing) Yes, it's possible, and no, it's not a djgpp feature. If you read the redir docs carefully, you will notice how this is done. So to redirect stderr, you just need to close the stderr file handle, then open it to point at the file you want the stderr output to go. But why you couldn't use redir with any DOS program? -- Esa Peuha student of mathematics at the University of Helsinki http://www.helsinki.fi/~peuha/