🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7570

How to redirect the standard output error to a file

#7570
From: zapper
Date: Sun, 10 Jan 1993 09:01
16 lines
800 bytes
I'm having problem redirecting the error messages generated by some 
programs to a file. For example, if file A does not exist:
C> COPY A B > D
File not found - A
C>

and the content of file D is empty.
what i want is such that D contains File not found - A
and no error messages shown.

Any help will be appreciated.
Thanks in advance!

suwanto@iastate.edu

-- 
Technical Details
Message-ID: <suwanto.726656508@vincent1.iastate.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!news.iastate.edu!vincent1.iastate.edu!suwanto

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!news.iastate.edu!vincent1.iastate.edu!suwanto
From: suwanto@iastate.edu (zapper)
Subject: How to redirect the standard output error to a file
Message-ID: <suwanto.726656508@vincent1.iastate.edu>
Sender: news@news.iastate.edu (USENET News System)
Organization: Iowa State University, Ames IA
Date: Sun, 10 Jan 1993 09:01:48 GMT
Lines: 16