WinZip , Online Help, Documentation


Home
WinZip Online Help Prev Page Prev Page
 
Basics
Program Description
About self-extracting Zip files
Registered License
Evaluation License
About WinZip
Differences between WinZip Self-Extractor and the Personal Edition
Version History
Acknowledgments
Ordering Information
General Information/Immediate Online Delivery
Register WinZip Self-Extractor
Support
Technical Support
Solutions to Common Problems
Hints and Tips
Tips for Creating Self-Extractors for Software Installation
System Requirements, Installation, and Uninstallation
System Requirements
Installation
Uninstallation
Operation
Creating self-extracting Zip files
Password Security
Using the WinZip Self-Extractor Wizard
Command Line Options
Running the self-extracting Zip file

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.