Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

comp.os.msdos.programmer FAQ part 3/5
Section - - How can I redirect the output of a batch file?

( Part1 - Part2 - Part3 - Part4 - Part5 - Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Restaurant inspections ]


Top Document: comp.os.msdos.programmer FAQ part 3/5
Previous Document: - How can I redirect printer output to a file?
Next Document: - How can I redirect stderr?
See reader questions & answers on this topic! - Help others by sharing your knowledge

 Assuming the batch file is called batch.bat, to send its output (stdout)
 to another file, just invoke COMMAND.COM as a secondary command
 processor:

 command /c batch parameters_if_any >outfile

 Timo Salmi's notes on this and other batch tricks are downloadable from:
 <ftp://garbo.uwasa.fi/pc/link/>

 A reader of comp.os.msdos.programmer has created a utility that can
 capture batch file output. It can be found at:
 <http://www.simtel.net/pub/dl/11141.shtml>

User Contributions:

Comment about this article, ask questions, or add new information about this topic:




Top Document: comp.os.msdos.programmer FAQ part 3/5
Previous Document: - How can I redirect printer output to a file?
Next Document: - How can I redirect stderr?

Part1 - Part2 - Part3 - Part4 - Part5 - Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
jeffrey@carlyle.org (Jeffrey Carlyle)





Last Update March 27 2014 @ 02:11 PM