i need to capture the output of a batch file (maintenance.bat) that will run on a schedule to restart services and run some maintenance. i need to see the output of the bat file.
my bat file calls other bat files. here is an example
pushd d:\workingdirectory
call servicecontroller.bat services.stop
call rotatelogs.bat
call pushconfigupdates.bat
popd
i need to capture the output of all the commands ran.
Thanks