When specifying archiver command line arguments using the Packer Configuration or Archiver Properties dialog, you can use the following variables:
%%A |
Archive name. |
%%L |
File list name. A file list is a file containing names of files to be processed by an external archiver. By default, file lists are supposed to use ANSI encoding. The variable supports the O and U variable modifiers (see below). |
%%F |
Name(s) of the file(s) to be processed. If all the names cannot be placed
in a single string, the archiver will be executed several times until all the file names are used. The variable %%F should be used only if the archiver does not support file lists. |
%%D |
Name of the destination folder to which the archiver will extract files. The variable supports the A and N variable modifiers (see below). |
Also, the variable modifiers listed below can be used to change file name format details. To apply a variable modifier (say, S), place it right after the variable, without spaces (for instance, %%FS).
S |
Use '/' instead of '\' in pathnames. This variable modifier is supported by all variables listed above. |
O |
This variable modifier can be used with the %%L variable. The modifier indicates that the archiver requires a file list that uses OEM encoding. |
U |
This variable modifier can be used with the %%L variable. The modifier indicates that the archiver requires a file list that uses Unicode encoding. |
A |
This variable modifier can be used with the %%D variable. The modifier indicates that the archiver requires that a trailing slash be in the path to the destination directory. |
N |
This variable modifier can be used with the %%D variable. The modifier indicates that the archiver requires that the path to the destination directory does not have a trailing slash. |
|
Variables and variable modifiers can only be used when specifying the archiver parameters via TestExecute or TestComplete. An error will occur if you run an archiver directly and try to pass a variable to it with or without modifiers via the command line. |
See Also
Configuring Packer
Configuring Custom Archiver