How to take running cmd window logs inside a .bat script

53 views Asked by At
echo off
echo .
echo .
echo .
start /wait cmd.exe /c omake mv=%~2 ecu_build > ecu_log.txt 

Please help me how to log the cmd window output the above code is not working It always creates an empty file {ecu_log.txt}

0

There are 0 answers