<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=Windows-1252"> <TITLE>Command Line Switches</TITLE> <LINK href="style.css" rel="stylesheet" type="text/css"> </HEAD> <BODY> <H1>Command Line Switches</H1> <H4>Syntax</H4> <PRE class="syntax"> <switch>::= <switch_symbol><switch_characters>[<option>] <switch_symbol> ::= '/' | '-' </PRE> <P>On the command line, a switch consists of a switch specifier, either a dash (-) or a forward slash (/), followed by the name of the switch. Switch names cannot be abbreviated.</P> <P>Some switches take an argument after the switch name. No spaces or tabs are allowed within a switch specification. Switch names are not case sensitive, but arguments can be case sensitive. </P> <P>Switch can be used in any place in command line.</B> <P>See also <A href ="../syntax.htm">Command Line Syntax</A> for more details about using the command line.</P> <H2>Switch quick reference</H2> <TABLE border="1" cellpadding="3" cellspacing="0"> <TR><TH>Switch</TH><TH>Description</TH></TR> <TR> <TD><A href="stop_switch.htm">--</A></TD> <TD><A href="stop_switch.htm">Stop switches parsing</A></TD></TR> <TR> <TD>-ad</A></TD> <TD>Show dialog box in GUI version (7zg)</TD></TR> <TR> <TD><A href="ar_include.htm">-ai</A></TD> <TD><A href="ar_include.htm">Include archive filenames</A></TD></TR> <TR> <TD><A href="ar_no.htm">-an</A></TD> <TD><A href="ar_no.htm">Disable parsing of archive_name</A></TD></TR> <TR> <TD><A href="overwrite.htm">-ao</A></TD> <TD><A href="overwrite.htm">Overwrite mode</A></TD></TR> <TR> <TD><A href="ar_exclude.htm">-ax</A></TD> <TD><A href="ar_exclude.htm">Exclude archive filenames</A></TD></TR> <TR> <TD><A href="bb.htm"> -bb[0-3] </A></TD> <TD> Set output log level</TD></TR> <TR> <TD>-bd</TD> <TD> Disable progress indicator</TD></TR> <TR> <TD><A href="bs.htm"> -bs{o|e|p}{0|1|2} </A></TD> <TD> Set output stream for output/error/progress</TD></TR> <TR> <TD>-bt</TD> <TD> Show execution time statistics</TD></TR> <TR> <TD><A href="include.htm">-i</A></TD> <TD><A href="include.htm">Include filenames</A></TD></TR> <TR> <TD><A href="method.htm">-m</A></TD> <TD><A href="method.htm">Set Compression Method</A></TD></TR> <TR> <TD><A href="output_dir.htm">-o</A></TD> <TD><A href="output_dir.htm">Set Output directory</A></TD></TR> <TR> <TD><A href="password.htm">-p</A></TD> <TD><A href="password.htm">Set Password</A></TD></TR> <TR> <TD><A href="recurse.htm">-r</A></TD> <TD><A href="recurse.htm">Recurse subdirectories</A></TD></TR> <TR> <TD><A href="sa.htm"> -sa </A></TD> <TD><A href="sa.htm"> Set Archive name mode </A></TD></TR> <TR> <TD><A href="scc.htm"> -scc </A></TD> <TD><A href="charset.htm"> Set charset for for console input/output </A></TD></TR> <TR> <TD><A href="scrc.htm">-scrc</A></TD> <TD><A href="scrc.htm">Set hash function</A></TD></TR> <TR> <TD><A href="charset.htm">-scs</A></TD> <TD><A href="charset.htm">Set charset for list files</A></TD></TR> <TR> <TD><A href="sdel.htm"> -sdel </A></TD> <TD><A href="sdel.htm"> Delete files after including to archive </A></TD></TR> <TR> <TD><A href="sfx.htm">-sfx</A></TD> <TD><A href="sfx.htm">Create SFX archive</A></TD></TR> <TR> <TD><A href="stdin.htm">-si</A></TD> <TD><A href="stdin.htm">Read data from StdIn</A></TD></TR> <TR> <TD><A href="large_pages.htm">-slp</A></TD> <TD><A href="large_pages.htm">Set Large Pages mode</A></TD></TR> <TR> <TD><A href="list_tech.htm">-slt</A></TD> <TD><A href="list_tech.htm">Show technical information</A></TD></TR> <TR> <TD><A href="sni.htm"> -sni </A></TD> <TD><A href="sni.htm"> Store NT security information </A></TD></TR> <TR> <TD><A href="sns.htm"> -sns </A></TD> <TD><A href="sns.htm"> Store NTFS alternate Streams </A></TD></TR> <TR> <TD>-snc</TD> <TD> Extract file as alternate stream, if there is ':' character in name </TD></TR> <TR> <TD>-snr</TD> <TD> Replace ':' character to '_' character in paths of alternate streams </TD></TR> <TR> <TD>-snh</TD> <TD> Store hard links as links (WIM and TAR formats only) </TD></TR> <TR> <TD>-snl</TD> <TD> Store symbolic links as links (WIM and TAR formats only) </TD></TR> <TR> <TD><A href="stdout.htm">-so</A></TD> <TD><A href="stdout.htm">Write data to StdOut</A></TD></TR> <TR> <TD>-spd</TD> <TD> Disable wildcard matching for file names</TD></TR> <TR> <TD>-spe</TD> <TD> Eliminate duplication of root folder for extract archive command</TD></TR> <TR> <TD><A href="spf.htm"> -spf </A></TD> <TD><A href="spf.htm"> Use fully qualified file paths </A></TD></TR> <TR> <TD><A href="ssc.htm">-ssc</A></TD> <TD><A href="ssc.htm">Set Sensitive Case mode</A></TD></TR> <TR> <TD><A href="shared.htm">-ssw</A></TD> <TD><A href="shared.htm">Compress files open for writing</A></TD></TR> <TR> <TD><A href="stl.htm">-stl</A></TD> <TD><A href="stl.htm">Set archive timestamp from the most recently modified file</A></TD></TR> <TR> <TD>-stm{HexMask}</TD> <TD> Set CPU thread affinity mask (hexadecimal number).</TD></TR> <TR> <TD><A href="stx.htm">-stx{Type}</A></TD> <TD> Exclude archive type </TD></TR> <TR> <TD><A href="type.htm">-t</A></TD> <TD><A href="type.htm">Type of archive</A></TD></TR> <TR> <TD><A href="update.htm">-u</A></TD> <TD><A href="update.htm">Update options</A></TD></TR> <TR> <TD><A href="volume.htm">-v</A></TD> <TD><A href="volume.htm">Create Volumes</A></TD></TR> <TR> <TD><A href="working_dir.htm">-w</A></TD> <TD><A href="working_dir.htm">Set Working directory</A></TD></TR> <TR> <TD><A href="exclude.htm">-x</A></TD> <TD><A href="exclude.htm">Exclude filenames</A></TD></TR> <TR> <TD><A href="yes.htm">-y</A></TD> <TD><A href="yes.htm">Assume Yes on all queries</A></TD></TR> </TABLE> </BODY> </HTML>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
ar_exclude.htm | File | 1.42 KB | 0644 |
|
ar_include.htm | File | 2.4 KB | 0644 |
|
ar_no.htm | File | 1.37 KB | 0644 |
|
bb.htm | File | 1.89 KB | 0644 |
|
bs.htm | File | 1.95 KB | 0644 |
|
charset.htm | File | 1.95 KB | 0644 |
|
exclude.htm | File | 1.93 KB | 0644 |
|
include.htm | File | 2.84 KB | 0644 |
|
index.htm | File | 5.71 KB | 0644 |
|
large_pages.htm | File | 2.14 KB | 0644 |
|
list_tech.htm | File | 802 B | 0644 |
|
method.htm | File | 35.36 KB | 0644 |
|
output_dir.htm | File | 1.33 KB | 0644 |
|
overwrite.htm | File | 1.48 KB | 0644 |
|
password.htm | File | 1.35 KB | 0644 |
|
recurse.htm | File | 2.53 KB | 0644 |
|
sa.htm | File | 1.4 KB | 0644 |
|
scc.htm | File | 914 B | 0644 |
|
scrc.htm | File | 1.25 KB | 0644 |
|
sdel.htm | File | 954 B | 0644 |
|
sfx.htm | File | 5.44 KB | 0644 |
|
shared.htm | File | 1011 B | 0644 |
|
sni.htm | File | 1.35 KB | 0644 |
|
sns.htm | File | 2.2 KB | 0644 |
|
spf.htm | File | 2.37 KB | 0644 |
|
ssc.htm | File | 1.43 KB | 0644 |
|
stdin.htm | File | 1.55 KB | 0644 |
|
stdout.htm | File | 1.4 KB | 0644 |
|
stl.htm | File | 978 B | 0644 |
|
stop_switch.htm | File | 678 B | 0644 |
|
stx.htm | File | 1.36 KB | 0644 |
|
style.css | File | 2.78 KB | 0644 |
|
type.htm | File | 3.67 KB | 0644 |
|
update.htm | File | 7.97 KB | 0644 |
|
volume.htm | File | 1.29 KB | 0644 |
|
working_dir.htm | File | 1.68 KB | 0644 |
|
yes.htm | File | 1.23 KB | 0644 |
|