Switch List

ReportFile

Specifies log file's location

Syntax:

--ReportFile [<file>|@STDOUT|@STDERR|@MESSAGEBOX]+|@NULL
-rf [<file>|@STDOUT|@STDERR|@MESSAGEBOX]+|@NULL

Description:

Specifies the files the operation's log will be written to. If multiple values are specified, all the files specified are written to.
If one of the values is @STDOUT the log will be written the standard output stream.
If one of the values is @STDERR the log will be written to the standard error stream.
If the only value is @NULL log will not be written.
If one of the values is @MESSAGEBOX, messages will be shown in a messagebox. The messagebox has SERVICE_NOTIFICATION flag.

Note:
If the -fd (ForceDirectories) switch is absent, an attempt to create a file in a non-existing directory will produce an error.

By default, disk files are replaced. To append information to an existing report file use the -ro ReportOptions switch.

Example:

p7mTool -rf reports/report.txt
p7mTool -of smime.p7m -rf@MESSAGEBOX

See also:

Switches: ReportOptionsSwitches: ReportTitleSwitches: ForceDirectoriesSwitches: OutputFileSample: AdvancedEncryptSample: Encrypt PDF Max
Copyright © Cryptigo 2001-2013Last modified on  09 Jul 2004