Help with Log Command

Hello !

I'm trying to use the Log Command but can't figure out how to turn it off. Even after I issue

"LOG OFF"

The log file keeps on being updated :(

My goal is to put that LOG command on the top of a batch file (right before or after SETLOCAL) and then capture whatever happens during the batch processing. At the end of the job (BTM) I would SENDMAIL 2 MYSELF with this log info.

Very, very useful for nightly run routines. At the morning, I want to know if it was all processed and if it was not, what happened.

It would be nice to capture also the messages issued by external EXEs on the standard output. But that's another step. If only I could capture the whole BTM processing that would be nice !

Thanks in advance !
 
Aug 2, 2011
258
4
Berlin, Germany
Hello,

try

Code:
log /a /w alloutput.log  ( implicit "log on" )
...
log /a off
sendmail ...
 
Similar threads
Thread starter Title Forum Replies Date
H WAD CDD not working as per help TCC/LE Support 6
Stefano Piccardi TCCLE 13.05.66 help file version is older. TCC/LE Support 1
Frank quadratic help window TCC/LE Support 0
C How to? Newbie help please TCC/LE Support 2
M Help with variables TCC/LE Support 4
Jesse Heines Request for TCC Date Command Custom Format Example TCC/LE Support 4
A vcvarsall.bat command not working on TCC LE command prompt TCC/LE Support 16
T Cursor-up for last command TCC/LE Support 4
B A command crash report TCC/LE Support 1
B Copy command to set timestamp not working in TCC/LE TCC/LE Support 5
D The output of apm command is disordered. TCC/LE Support 1
M Bug in RENAME and KEYSTACK command? TCC/LE Support 9
C WAD Executing rename.py -y trigger internal rename command TCC/LE Support 5
G WAD Windows 10 - ver command TCC/LE Support 6
C Incompatibility with cmd.exe dir command TCC/LE Support 3
S Take Command 16.00.45 update crashed TCC/LE Support 2
A command typed? TCC/LE Support 12
O Redirection in for command does not work TCC/LE Support 7
CaptainFlint Command grouping differs from cmd? TCC/LE Support 22
S Fixed TCC-LE 13.05.65 x64 "option" command tabs broken TCC/LE Support 4
G unknown command (newbie post - be gentle) TCC/LE Support 3
Charles Dye ? command, TCC/LE vs. supported TCC/LE Support 3
O How to? Maintain command line history between reboots TCC/LE Support 8
C How to close Take Command? TCC/LE Support 2
Frank a question to "Take Command 13.04.52 Released" TCC/LE Support 3
R How to? Add TCC Open command box here to context menu TCC/LE Support 2
jason404 Is there a command equivalent to ls -a in bash? TCC/LE Support 3
fpefpe time command -- time server TCC/LE Support 3
G What does this error means: TCC: Unknown command "C:\Program" TCC/LE Support 13
T trouble with start /runas command TCC/LE Support 1

Similar threads