CARIS Batch uses Standard Output Stream (STDOUT) for presenting text information in Command Prompt. Information about processing errors are sent to the Standard Error Stream (STDERR), which is also displayed in Command Prompt.
The STDOUT stream can be saved to a text file by using the redirection operator (>). See the following example:
carisbatch.exe -r ProcessName [process options...] > process-output.txt |
The STDOUT stream can also be silenced by redirecting it to nul:
carisbatch.exe -r ProcessName [process options...] > nul |
The STDERR stream can be saved to a text file by using the redirection operator (>). See the following example:
carisbatch.exe -r ProcessName [process options...] 2> process-errors.txt |
The STDERR streams can also be silenced by redirecting it to nul:
carisbatch.exe -r ProcessName [process options...] 2> nul |
The STDOUT and STDERR streams can be both redirect to different files in the same command. See the following example:
carisbatch.exe -r ProcessName [process options...] 2> process-errors.txt > process-output.txt |
The STDOUT and STDERR streams can be both redirected to same file in the same command. See the following example:
carisbatch.exe -r ProcessName [process options...] 2>&1 > process-all.txt |