OSDN Git Service

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