source: main/trunk/release-kits/shared/linux/p7z-essentials/DOCS/MANUAL/switches/output_dir.htm@ 28712

Last change on this file since 28712 was 28712, checked in by ak19, 10 years ago

jts21 - Add files and instructions for building self-extracting jre file

File size: 1.3 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2<HTML>
3<HEAD>
4 <META http-equiv="Content-Type" content="text/html; charset=Windows-1252">
5 <TITLE>-o (set Output directory) switch</TITLE>
6 <LINK href="style.css" rel="stylesheet" type="text/css">
7</HEAD>
8
9<BODY>
10
11<H1>-o (set Output directory) switch</H1>
12
13<P>Specifies a destination directory where files are to be extracted.</P>
14<P>This switch can be used only with extraction commands.</P>
15
16<H4>Syntax</H4>
17
18<PRE class="syntax">
19-o{dir_path}
20</PRE>
21
22<DL>
23 <DT>{dir_path}</DT>
24 <DD>This is the destination directory path. It's not required to end with a backslash.
25 If you specify <B>*</B> in {dir_path}, 7-Zip substitutes that * character to archive name.</DD>
26</DL>
27
28
29<H4>Example</H4>
30
31<PRE class="example">
327z x archive.zip -oc:\Doc
33</PRE>
34
35<P>extracts all files from the <SPAN class="filename">archive.zip</SPAN> archive
36to the <SPAN class="filename">c:\Doc</SPAN> directory.</P>
37
38<PRE class="example">
397z x *.zip -o*
40</PRE>
41
42<P>extracts all <SPAN class="filename">*.zip</SPAN> archives to subfolders
43with names of these archives.</P>
44
45<H4>Commands that can be used with this switch</H4>
46
47<P>
48 <A href="../commands/extract.htm">e (Extract)</A>,
49 <A href="../commands/extract_full.htm">x (Extract with full paths)</A>
50</P>
51
52</BODY>
53</HTML>
Note: See TracBrowser for help on using the repository browser.