Log Files

  • Thread starter Thread starter joe
  • Start date Start date
J

joe

Is there a way for me to log everything that happens in a
batch file from start to finish?

Thanks,

Joe
 
j> Is there a way for me to log everything that happens
j> in a batch file from start to finish?

Yes. There are several, in fact.
 
Run the fil eunder it's own CMD.EXE and redirect stdout & stderr:

cmd /c "foo.bat" >foo.log 2>&1

You can also tinker with various options for running the file via START.

-Tim
 
Back
Top