July 8, 200620 yr I need to know is there any chance to easily log all output of executed batch sctipts to lof files.I want to check if bach scripts executed have any errors while executing...sory for my bad english
July 8, 200620 yr Call the batch file from another batch file like so...>>%systemdrive%\error.log yourbatchfile.batthis should work as wellyourbatchfile.bat > %systemdrive%\error.logthat will create a logfile in the root of your system drive.It will log all output not just errors.The file can have any extension like .txt ...You can also use echo to send text to the log file like>>%systemdrive%\error.log echo bla bla bla Edited July 8, 200620 yr by jaws75
July 11, 200620 yr Author thanks...i know that but i want to kno it is exist such program i can use and i found "mtee" very usefull...greetings
Create an account or sign in to comment