Mail Archives: djgpp/1997/02/28/10:47:00
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/
- Raw text -