Command line options
Command line options can be used to automate the creation of
self-extracting Zip files in batch (BAT) files, make files,
application scripts, and similar automated processing environments.
When command line options are specified, the interactive WinZip
Self-Extractor Window is normally not displayed.
The general command line format is:
wzipse32[.exe]
filename[.zip] [options]
For detailed command line syntax, see Command line options for Standard
self-extracting Zip files and Command line options for self-extracting Zip
files for Software Installation.
Response files
The length of a command line is limited by Windows (the allowed
length varies, depending on the version of Windows you use). If you
can't fit all of the options you need into a command, you can put
command line options into a text file and specify the filename
using "@filename". For
example, if the text file standard.inp contains the lines
-d c:\modem
-m c:\folder\greeting.txt
-nooverwrite
you can use the command
wzipse32
filename.zip @standard.inp
to build a self-extracting Zip file using the options in
standard.inp.
Using the -info command line option
The -info command line option can be specified when
running a self-extracting Zip file created by WinZip Self-Extractor
(not when running WinZip Self-Extractor itself). Specifying this
option causes the self-extracting Zip file to display a message box
showing the command line parameters needed to recreate the
self-extracting Zip file. The parameters are displayed regardless
of whether the command line or the WinZip Self-Extractor Wizard was
used to create the self-extracting Zip file. In addition to
providing information about how a self-extracting Zip file was
created, -info can be used to determine how to create a
Wizard-generated self-extracting Zip file from the command
line.
| Note:
|
An * (asterisk) in the
-info display means that the appropriate filename must be
specified in that location. |
|