I have a batch file with many commands and want the results in saved in a log file.
I tried the following:
mybat.bat > c:\log.txt
The log file is there but it's empty. How can I do this?
Thanks in advance
Posted 14 July 2004 - 07:07 AM
Posted 14 July 2004 - 01:21 PM
Posted 17 July 2004 - 12:51 PM
ECHO Installed Programs were not registered >> %systemroot%\Temp\instTime.log
mybat.bat >> c:\log.txt
Posted 20 July 2004 - 03:24 PM
Posted 22 July 2004 - 03:36 PM
kukris, on Jul 21 2004, 02:54 AM, said:
@ECHO OFFline in your batch file (the one to be logged).
Posted 31 October 2012 - 03:48 AM
This post has been edited by tgf666: 31 October 2012 - 04:01 AM