J joe Jul 21, 2003 #1 Is there a way for me to log everything that happens in a batch file from start to finish? Thanks, Joe
Is there a way for me to log everything that happens in a batch file from start to finish? Thanks, Joe
R Ritchie Jul 21, 2003 #2 joe said: Is there a way for me to log everything that happens in a batch file from start to finish? Click to expand... See the first half dozen or so threads with this query:- http://groups.google.com/groups?q=echo+log+redirect+file+output+cmdprompt.admin+OR+batch.nt
joe said: Is there a way for me to log everything that happens in a batch file from start to finish? Click to expand... See the first half dozen or so threads with this query:- http://groups.google.com/groups?q=echo+log+redirect+file+output+cmdprompt.admin+OR+batch.nt
J Jonathan de Boyne Pollard Jul 21, 2003 #3 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.
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.
T Tim Hill Jul 22, 2003 #4 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
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