Please enable JavaScript to view this site.

Take Command / TCC Help v. 29

Purpose:Reads line from STDIN, prefix a date/time stamp, and write the lines to STDOUT


Format:TS [/D /T "format"]


"format"The date / time format







TS is intended to be used in pipes, when you need to know when each line was received.


If you don't specify any options, TS defaults to /D /T.




/"..."The format string. See @DATEFMT for details on format arguments. If you specify a format string, it will override /D and/or /T.


/DPrefix each line with the current date (in yyyy-mm-dd format).


/T Prefix each line with the current time (in format).