#### 44.11.1 Specifying an archiving command

To have DITA2Go archive files assembled for distribution:

    [Automation]
    WrapAndShip=Yes (or CompileHelp=Yes)
    ; ArchiveCommand = zip command, without parameters
    ArchiveCommand=pkzip

ArchiveCommand must include the absolute path to the location of the archiving program on your system, unless that location is already on the system PATH. If the path contains spaces, you must enclose the path (including the command name) in quotes. For example, the archiving command setting for the DITA2Go User's Guide is:

    ArchiveCommand = "g:\program files\winzip\wzzip"

ArchiveCommand has no default value; if you do not specify a value, DITA2Go does no archiving, and the remaining Archive* settings are moot.

ArchiveCommand takes effect only when at least one of the following is true:

- WrapAndShip=Yes (see §44.2 Activating and logging production of deliverables)
- OnlyAuto=Yes (see §44.13 Postprocessing separately from converting).

If WrapPath is set to blank, the archiving command works on whatever is in the project directory; when this is the case, unless you include exactly the right parameters, you might get a mess. See §44.11.2 Supplying parameters for the archiving command.

Previous Topic: 44.11 Archiving deliverables

Next Topic: 44.11.2 Supplying parameters for the archiving command

Parent Topic: 44.11 Archiving deliverables

Sibling Topics:

44.11.2 Supplying parameters for the archiving command

44.11.3 Specifying archive file name and optional version