Switch List

CommandFile

Import command file

Syntax:

--CommandFile<file>+
-cf<file>+

Description:

Reads consecutive switches from . The switches in the file are subject to different rules than the switches in the command line:

  1. each switch must be placed in a separate line
  2. the values of the switch are only separated by semicolons, not by spaces
  3. the % variables ( %1, %p7mToolDir%, etc.) are not evaluated. NOTE: you can use $ {{ENV()} syntax for accessing env. variables.
  4. lines starting with semicolon are treated as comments

Otherwise, all the rules that apply to the switches in the command lines, apply to the switches in command file as well.

This switch can have any number of values.

Example:

p7mTool -cfsample.cf.txt


sample.cf.txt:

;a sample command line
--EncryptTo ECA29B3F 1F7C09EB D4103B51 760992C7 FDC78672
--EncryptTo 6FC0 7584 C2D1 73E1 A391 390D 18E4 DC01 69EB A6ED
--EncryptTo alice.cer

--OutputFile smime.p7m
--OutputFile @STDOUT

See also:

Switches: InputFileSwitches: OutputFileSwitches: DefineSample: AdvancedEncryptSample: EncryptAttSample: HtmlEx
Copyright © Cryptigo 2001-2013Last modified on  09 Jul 2004