home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / msdos / programm / 11960 < prev    next >
Encoding:
Text File  |  1993-01-10  |  774 b   |  27 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!gatech!destroyer!news.iastate.edu!vincent1.iastate.edu!suwanto
  3. From: suwanto@iastate.edu (zapper)
  4. Subject: How to redirect the standard output error to a file
  5. Message-ID: <suwanto.726656508@vincent1.iastate.edu>
  6. Sender: news@news.iastate.edu (USENET News System)
  7. Organization: Iowa State University, Ames IA
  8. Date: Sun, 10 Jan 1993 09:01:48 GMT
  9. Lines: 16
  10.  
  11. I'm having problem redirecting the error messages generated by some 
  12. programs to a file. For example, if file A does not exist:
  13. C> COPY A B > D
  14. File not found - A
  15. C>
  16.  
  17. and the content of file D is empty.
  18. what i want is such that D contains File not found - A
  19. and no error messages shown.
  20.  
  21. Any help will be appreciated.
  22. Thanks in advance!
  23.  
  24. suwanto@iastate.edu
  25.  
  26. -- 
  27.