1.

Solve : Redirecting BAT output to file?

Answer»

This is a newbie question...

How do I REDIRECT ALL the BAT output that normally goes to the screen, to instead go to a SINGLE FILE?

In my BAT file I am executing several different third-party applications, and DOS commands, etc. I WANT everything that goes to the screen now to also/instead go to a file.

Can I SIMPLY wrap my BAT file in another BAT file and make the screen output somehow go to a file redirect somehow? (I did try this with no success using myouterbat.bat >log.txt). That try only sent a reference to each separate command to the file, I need anything thats on the screen to be in the file verbose.

Can I call my BAT file with some other DOS command then redirect the output of that command to a file?

tia
Rick



Discussion

No Comment Found