Omni Systems, Inc.

  

Mif2Go User's Guide, Version 33u53

  

Valid HTML 4.01!

 

Made with Mif2Go

33 Producing deliverable results > 33.9 Archiving deliverables > 33.9.2 Supplying parameters for the archiving command


33.9.2 Supplying parameters for the archiving command

To provide values for parameters (other than the archive file name) required by the archiving program:

[Automation]

; ArchiveStartParams = parameters preceding name of archive file

ArchiveStartParams=-add

; ArchiveEndParams = parameters following name of archive file

ArchiveEndParams=*.*

For parameters that are to be passed to an archiving program, observe the following:

Do not enclose parameter values in quotes.

Use backslashes as separators in path-name parameters.

Use a dash ("-") instead of a forward slash to prefix a command option.

Starting parameters

ArchiveStartParams specifies any parameters to ArchiveCommand that must precede the name of the archive file, such as command option -add for pkzip or -a (the default) for wzzip. For example, the starting-parameter setting for the Mif2Go User's Guide is simply:

ArchiveStartParams =

Ending parameters

ArchiveEndParams specifies any parameters to ArchiveCommand that must follow the name of the archive file, such as *.* for pkzip or wzzip. For example, the ending-parameter setting for the HTML version of the Mif2Go User's Guide is:

ArchiveEndParams = *.* g:\omnisys\ug\source\history.txt

Archiving directly from the project folder

If you are archiving from the project folder instead of from a separate folder designated by WrapPath (see §33.4 Assembling files for distribution), it is better to enumerate the files (at least by extension) to include in the archive. If you specify ArchiveEndParams=*.*, you might end up with .ref, .ini, .grx, and other unwanted files in the archive. For example, for an HTML project to be archived from the project folder you might specify the following:

ArchiveEndParams = *.htm *.css *.gif *.jpg *.png

For the HTML Help version of the Mif2Go User's Guide, which does not use a WrapPath folder, the setting specifies each file to be included:

ArchiveEndParams = ugmif2go.chm g:\omnisys\ug\source\history.txt



33 Producing deliverable results > 33.9 Archiving deliverables > 33.9.2 Supplying parameters for the archiving command