Purpose:Extract files from .7Z archives

 

Format:7UNZIP [/= /A:[[-][+]rhsdaecjot] /C /CRC /D /E /F /Nt /P /O /Q /S"password" /TEST /U /V] ziparchive path file ...

 

ziparchiveThe 7Zip file to work with
pathThe path where files will be extracted
fileThe file(s) to extract

 

/A:... (attribute switch)/O(verwrite)
/C(ontents)/P(ercent)
/CRC/Q(uiet)
/D(irectory)/S"password"
/E(xtract)/TEST
/F(reshen)/U(pdate)
/N/V(iew)

 

File Selection:

 

Supports command dialog, attribute switches, extended wildcards, ranges, multiple file names, and include lists.

 

File Completion Syntax:

 

The default filename completion syntax is: [1] dirs 7z [2*] *

 

Usage:

 

You can specify a pathname for ziparchive. If you don't provide an extension, and the filename as entered doesn't exist, 7UNZIP adds ".7z". If you don't specify an operation, 7UNZIP will default to Extract. If you don't specify any arguments, 7UNZIP will display its command dialog.

 

7UNZIP supports wildcards for the 7Zip archive name and for the filenames to extract. 7UNZIP will prompt before overwriting existing files. Your options at the prompt are explained in detail under Page and File Prompts.

 

path specifies the path where files will be extracted. If path is not specified, files are extracted to the current directory.

 

7UNZIP sets two internal variables:

 

%_7unzip_filesThe number of files extracted
%_7unzip_errorsThe number of errors

 

Options:

 

/=Display the 7UNZIP command dialog to help you set the filename and command line options. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

/A:...Select only those files that have the specified attribute(s) set. See Attribute Switches for information on the attributes which can follow /A:. Do not use /A: with @file lists. See @file lists for details.

 

You can specify /A:= to display a dialog to help you set individual attributes.

 

/CDisplay (on standard output) the contents of a file in the 7Zip archive.

 

/CRCDisplay the file CRCs (must be used with /V).

 

/DRecreate the directory structure saved in the 7Zip file.

 

/EExtract the specified file(s). (This is the default.)

 

/FExtract only those files that currently exist in the target folder, and which are older than the file in the 7Zip archive.

 

/Nt Don't update the CD / CDD extended directory search database (JPSTREE.IDX).

 

/OOverwrite existing files. 7UNZIP normally prompts before overwriting an existing file; /O will suppress the prompt.

 

/PDisplay the progress (0 - 100%) for each file as it is extracted.

 

/QDon't display filenames as they are extracted.

 

/SUse the specified password to extract the file(s) from an encrypted archive. If you don't provide a password on the command line, 7UNZIP will prompt you to enter one.

 

/TESTTest the integrity of the 7Zip file (header and contents). Any errors will be displayed on STDERR.

 

/UExtract files which either don't exist in the target folder, or which are older than the file in the 7Zip archive.

 

/VView the list of files in the archive (date, time, size, and filename). If the 7Zip file is password protected, 7UNZIP will append a * after the filename.