Purpose:Create a ZIP-compatible self-extracting archive

 

Format:ZIPSFX [/B /C /D"path" /F"file" /Ln /M"message" /R /S"password" /X64] exearchive directory...

 

exearchiveThe self-extracting executable
directoryThe directory to be compressed into the self-extracting executable

 

/B(anner)/M(essage)
/C(aption)/R(ecurse)
/D (target directory)/S"password"
/F (execute after open)/X64 (64-bit executable)

/Ln (compression level)

 

File Selection

 

Supports extended wildcards and ranges,

 

Usage:

 

You can specify a pathname for exearchive. If you don't provide an extension, and the filename as entered doesn't exist, ZIPSFX adds ".exe".

 

ZIPSFX sets two internal variables:

 

%_zipsfx_filesThe number of files archived
%_zipsfx_errorsThe number of errors

 

Option:

 

/BBanner text to display before beginning the self-extraction.

 

/CCaption for the self-extractor dialogs.

 

/DTarget directory for the self-extractor.

 

/FOptional name of the file to execute (open) after the archive is extracted. This must be a relative path to a file in directory. If this is set to ".", the folder in which the archive has been decompressed will open in Windows Explorer. If it is set to "" (an empty string), the extractor will close and take no action.

 

/LnSet the compression level (0 - 6, where 0=no compression, and 6=maximum compression). The default is 4.

 

/MMessage to notify the user that the extraction has completed normally.

 

/RIf the argument is a subdirectory, copy all of the files in that subdirectory and all of its subdirectories to the zip file.

 

/SUse the specified password to extract the file(s). If you don't provide a password on the command line, ZIPSFX will prompt you to enter one.

 

/X64Create a 64-bit executable.