I run a back up routine by way of a batch file. I would like to simultaneously create a log file of the batch's actions. I have tried a command, "mybat.bat >> c:\log.txt", that I found on this forum. It works great in creating the log, but I can not view the batch's actions while it is running. I have played around with the Echo On/Off commands, but no luck.
Does anyone know how I can run my batch file with all its actions being visible while creating a log file in the background?
Regards...John
Batch File Log
Moderator: DosItHelp
Re: Batch File Log
The purpose of a tee filter is to redirect screen output to a file, as well as show it on the screen.
Re: Batch File Log
Thanks for the info guys. I was able to do it.