Switch List

OutputFile

Specifies output files

Syntax:

--OutputFile [<file>|@STDOUT]+
-of[<file>|@STDOUT]+

Description:

Specifies the paths of the files to which the output will be directed. If multiple files are specified, all the files will contain the same result. A special name is @STDOUT which represents the standard output of p7mTool. If --OutputFile has no value, or has not been specified in the command line, @STDOUT is the default value.

Note:
If there is no -fd [ForceDirectories] switch, an attempt to create a file in a non-existing directory will result in an error.

Example:

p7mTool -cealice.cer -of smime.p7m -of duplicate.p7m
p7mTool -sgalice.cer -ofsmime.p7m;@STDOUT > duplicate.p7m
p7mTool -sgbob.cer -cealice.cer -of*output-file-list.txt

See also:

Switches: InputFileSwitches: ForceDirectoriesSwitches: p7mHeadersSwitches: Base64
Copyright © Cryptigo 2001-2013Last modified on  09 Jul 2004