Article View: comp.os.msdos.programmer
Article #926How can I redirect STDERR into a file ?
From: tamari zvi
Date: Sun, 16 Aug 1992 19:15
Date: Sun, 16 Aug 1992 19:15
16 lines
1047 bytes
1047 bytes
Hi,
I have a little problem, and hope that someone out there may be able to help.
I wrote a program in Turbo Pascal that executes dos command and redirect it's
output into a file.
However, when an error accours the error message appear on the screen rather
than find it's way into the output file.
So, the question is how can I redirect these error messages into a file ?
(it does'nt have to be the output file.
Thanks in advance,
Zvi Tamari.
tamari@bimacs.cs.biu.ac.il
Technical Details
Message-ID:
<4117@bimacs.BITNET>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!malgudi.oar.net!news.uakron.edu!neoucom.edu!news.ysu.edu!psuvm!frmop11!barilvm!bimacs!tamariShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!malgudi.oar.net!news.uakron.edu!neoucom.edu!news.ysu.edu!psuvm!frmop11!barilvm!bimacs!tamari From: tamari@bimacs.BITNET (tamari zvi) Newsgroups: comp.os.msdos.programmer Subject: How can I redirect STDERR into a file ? Keywords: msdos, stderr Message-ID: <4117@bimacs.BITNET> Date: 16 Aug 92 19:15:12 GMT Organization: Math & CS, BarIlan U, Ramat-Gan, Israel Lines: 16