home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / msdos / apps / 4540 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  1.3 KB

  1. Path: sparky!uunet!gatech!hubcap!ncrcae!ncrlnk!ncrdnde!ddbeano!ddbeezer!ddavies
  2. From: ddavies@ddbeezer.Dundee.NCR.COM (Derek Davies)
  3. Newsgroups: comp.os.msdos.apps
  4. Subject: Redirecting the output of batch files
  5. Message-ID: <582@ddbeezer.Dundee.NCR.COM>
  6. Date: 27 Aug 92 16:05:15 GMT
  7. Reply-To: ddavies@ddbeezer.Dundee.NCR.COM (Derek Davies)
  8. Distribution: world
  9. Organization: NCR E&M Dundee
  10. Lines: 24
  11.  
  12. >>I'm looking for a dos program to redirect screen output
  13. >>from a standard .bat file to an output file.  Does anybody
  14. >>know of one that might help me out?
  15. >
  16. >
  17.  
  18. Try the following : 
  19.  
  20. command /c batchfil.bat > output.fil
  21.  
  22. This will redirect the stdout messages generated whilst in
  23. batchfil.bat to the file output.fil.
  24.  
  25. This approach does not required any PD utilities/DR dos/4 Dos etc.
  26.  
  27. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  28. ::         Derek Davies (Consultant Software Magician), ESP Lab,           ::
  29. :: Advanced Application Systems,NCR,Kingsway West,Dundee,Scotland.DD2 3XX  ::
  30. ::  EMAIL: Derek.Davies@Dundee.NCR.COM  Tel: 44 [0] 382 611511 ext. 2444   ::
  31. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  32. :: These opinions are better than any employer's opinions - they're mine   ::
  33. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  34.  
  35. -- 
  36.