Suppose I am calling a parent batch file like this
call parent.bat >Log.txt
and within the parent.bat I calling other batch files which themselves call other bath files.
Now whats happening is, the batch files launched from within parent.bat, show their output on the console windows and do not log into Log.txt.
Is there a way to force all child batch files launched to log into Log.txt?