/A Convert output to ANSI. Default output is same as input.
/C Continue if errors occur opening/writing to file (advanced users only).
/D Prefix each line of output with local date in YYYY-MM-DD format.
/T Prefix each line of output with local time in HH:MM:SS.MSS format.
/U Convert output to UNICODE. Default output is same as input.
/E Exit with exit code of piped process.
/+ Append to existing file. If omitted, existing file is overwritten.
file File to receive the output. File is overwritten if /+ not specified.
... Any number of additional files. Use /+ before each file to append.
1) Sends the output of script.cmd to the console and to result.log. If
result.txt already exists, it will be overwritten.
2) Sends output of automated ftp session to the console and two log files,
local.log is overwritten if it already exists, remote.log is appended to.
3) Redirects stdout and stderr from update.cmd to console and appends to
log.txt. Each line is prefixed with local date and time.