source: main/trunk/release-kits/shared/mac/p7z-essentials/DOCS/MANUAL/switches/password.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.2 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>-p (set Password) switch</TITLE>
6 <LINK href="style.css" rel="stylesheet" type="text/css">
7</HEAD>
8
9<BODY>
10
11<H1>-p (set Password) switch</H1>
12
13<P>Specifies password.</P>
14
15<H4>Syntax</H4>
16
17<PRE class="syntax">
18-p{password}
19</PRE>
20
21<DL>
22 <DT>{password}</DT>
23 <DD>Specifies password.</DD>
24</DL>
25
26
27<H4>Examples</H4>
28
29<PRE class="example">
307z a archive.7z -psecret -mhe *.txt
31</PRE>
32<P>compresses *.txt files to <SPAN class="filename">archive.7z</SPAN> using password
33"secret". Also it encrypts archive headers (-mhe switch), so filenames will be encrypted.
34</P>
35
36<PRE class="example">
377z x archive.zip -psecret
38</PRE>
39<P>extracts all files from <SPAN class="filename">archive.zip</SPAN> using password
40"secret".</P>
41
42<H4>Commands that can be used with this switch</H4>
43
44<P>
45 <A href="../commands/add.htm">a (Add)</A>,
46 <A href="../commands/delete.htm">d (Delete)</A>,
47 <A href="../commands/extract.htm">e (Extract)</A>,
48 <A href="../commands/test.htm">t (Test)</A>,
49 <A href="../commands/update.htm">u (Update)</A>,
50 <A href="../commands/extract_full.htm">x (Extract with full paths)</A>
51</P>
52
53</BODY>
54</HTML>
Note: See TracBrowser for help on using the repository browser.