source: main/trunk/release-kits/shared/mac/p7z-essentials/DOCS/MANUAL/switches/working_dir.htm@ 30095

Last change on this file since 30095 was 30095, checked in by ak19, 9 years ago

We've decided to include a JRE for Mac Greenstone binaries, since later versions of Macs (like Yosemite) do not come with Java. Adding the generated jre 1.7.0_79 self-extracting binary and its related p7z component. Jeremy had long ago compiled up the p7z-essentials binaries 7za and 7zCon.sfx on the Mac that are necessary for generating the Mac self-extracting jre binary.

File size: 1.6 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>-w (set Working directory) switch</TITLE>
6 <LINK href="style.css" rel="stylesheet" type="text/css">
7</HEAD>
8
9<BODY>
10
11<H1>-w (set Working directory) switch</H1>
12
13<P>Sets the working directory for the temporary base archive. By
14default, 7-Zip builds a new base archive file in the same directory as the
15old base archive file. By specifying this switch, you can set the
16working directory where the temporary base archive file will be built.
17After the temporary base archive file is built, it is copied over the
18original archive; then, the temporary file is deleted.</P>
19
20<H4>Syntax</H4>
21
22<PRE class="syntax">
23-w[<A class="parameter" href="#dir_path">{dir_path}</A>]
24</PRE>
25
26<DL>
27 <DT><A name="dir_path"></A>{dir_path}</DT>
28 <DD>
29 <P>Specifies the destination directory path. It's not required that
30 a path end with a backslash.</P>
31 <P>If &lt;dir_path> is not assigned, then 7-Zip will use the Windows temporary directory.</P>
32 </DD>
33</DL>
34
35
36<H4>Example</H4>
37
38<PRE class="example">
397z a -tzip archive.zip *.cpp -wc:\temp
40</PRE>
41
42<P>adds <SPAN class="filename">*.cpp</SPAN> files to the
43<SPAN class="filename">archive.zip</SPAN> archive, creating a temporary archive
44in <SPAN class="filename">c:\temp</SPAN> folder.</P>
45
46<H4>Commands that can be used with this switch</H4>
47
48<P>
49 <A href="../commands/add.htm">a (Add)</A>,
50 <A href="../commands/delete.htm">d (Delete)</A>,
51 <A href="../commands/update.htm">u (Update)</A>,
52</P>
53
54</BODY>
55</HTML>
Note: See TracBrowser for help on using the repository browser.