How do I pipe the stdout of a program in DOS to a daily rolling logfile?
Posted
by J G
on Stack Overflow
See other posts from Stack Overflow
or by J G
Published on 2010-05-21T02:35:37Z
Indexed on
2010/05/21
2:40 UTC
Read the original article
Hit count: 235
I've got a DOS program kicked off by a cmd script that dumps a lot of data I'd like to track in a log file. I can easily pipe it to a file - but I need a rolling logfile.
Is there an easy way to pipe the output to a program that will generate a daily rolling logfile? (ie a new file is created for each day)
© Stack Overflow or respective owner