CARIS Process Designer : CARIS Batch : The CARIS Batch Utility : Standard Streams
 

Standard Streams

CARIS Batch uses Standard Output Stream (STDOUT) for presenting text information in a command prompt. Information about processing errors are sent to the Standard Error Stream (STDERR), which is also displayed in the command prompt.

The STDOUT stream can be saved to a text file by using the redirection operator (>):

carisbatch.exe -r ProcessName [process options...] > process-output.txt

The STDOUT stream can 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 (>:

carisbatch.exe -r ProcessName [process options...] 2> process-errors.txt

The STDERR streams can be silenced by redirecting it to nul:

carisbatch.exe -r ProcessName [process options...] 2> nul

Both the STDOUT and STDERR streams can be redirected to different files in the same command:

carisbatch.exe -r ProcessName [process options...] 2> process-errors.txt >

process-output.txt

Both the STDOUT and STDERR streams can be redirected to the same file in the same command:

carisbatch.exe -r ProcessName [process options...] 2>&1 > process-all.txt