Documentation 037 047
Documentation 037 047
You can change many of the settings that affect the 7-Zip Plugin in the 7-
Zip Options Dialog Box. To access this dialog box, select Options from
the Tools menu, then select the Plugins Page, select 7-Zip plugin, and
press Options.
The options dialog box contains the following pages:
System Page
Folders Page
System Page
Allows you to specify behavior of 7-Zip in Windows Shell.
Working folder
The working folder section allows you to specify a folder which will be
used for temporary archive files:
7-Zip uses temporary archive files for all update operations. So, for speed
reasons, it is recommended that you select the System temp folder
option and select Use for removable drives only check box.
Command Line Version User's Guide
7z.exe is the command line version of 7-Zip. 7z.exe uses 7z.dll from the
7-Zip package. 7z.dll is used by the 7-Zip File Manager also.
7za.exe (a = alone) is a standalone version of 7-Zip. 7za.exe supports
only 7z, cab, zip, gzip, bzip2, Z and tar formats. 7za.exe doesn't use
external modules.
Command Line syntax
Exit Codes
Commands
Switches
Command Line Syntax
7z <command> [<switch>...] <base_archive_name> [<arguments>...]
means that any (but only one) from these expressions must be specified.
Commands and switches can be entered in upper or lower case.
Command is the first non-switch argument.
The "base_archive_name" must be the first filename on the command
line after the command.
The switches and other filenames can be in any order.
Wildcards or filenames with spaces must be quoted:
"Dir\Program files\*"
Dir\"Program files"\*
adds to the archive "archive.zip" all "*.cpp" files from directories "My
programs" and "Src".
Short and Long File Names
7-Zip supports short file names (like FILENA~1.TXT) in some cases.
However, it's strongly recommended to use only the real (long) file
names.
Exit Codes from 7-Zip
7-Zip returns the following exit codes:
Code Meaning
0 No error
Warning (Non fatal error(s)). For example, one or more files were
1
locked by some other application, so they were not compressed.
2 Fatal error
7 Command line error
8 Not enough memory for operation
255 User stopped the process
Command Line Commands
The command is the first non-switch argument on the command line.
Command names are not case sensitive.
See also Command Line Syntax for more details about using the
command line.
Commands quick reference
Command Description
a Add
b Benchmark
d Delete
e Extract
l List
t Test
u Update
x eXtract with full paths