Output Batch File Details To Log?
Posted on 2011-10-21
Hello, I have a batch file on windows which holds the following commands
echo version_1.0 Running batch file for Updater
java -cp ".;e:\MyTester\testAcc\jdbc_jar_file\classes12.jar" com.myco.utility.updater.Controller
I wish to write the complete output of what happens while it processes to a log file.
Do you know how I can do this? I though echo could be used but I could not get it to write out all the contents.
Thanks in advance.