I know it seems a silly question, but I'm kinda stuck.
I'm creating a bat that calls another one.
OK so far so good.
However I want to redirect both the stdout and stderr to the same file.
I've tried
Code: Select all
call myOtherFile.bat 1>logFile.log 2>logFile.log
and
Code: Select all
call myOtherFile.bat 1>logFile.log 2>>logFile.log
and also
Code: Select all
call myOtherFile.bat 1>>logFile.log 2>>logFile.log
with no avail.
Does anyone know how to do this?
Regards,