OSDN Git Service

mirror .org
[sevenzip/7-Zip.git] / www.7-zip.org / faq.html
index b02a33b..d21c663 100644 (file)
 <TR><TD><A href="7z.html" class="MenuLink">7z Format</A></TD></TR>\r
 <TR><TD><A href="sdk.html" class="MenuLink">LZMA SDK</A></TD></TR>\r
 <TR><TD><A href="download.html" class="MenuLink">Download</A></TD></TR>\r
-<TR><TD><A href="register.html" class="MenuLink">Donate</A></TD></TR>\r
 <TR><TD><SPAN class="MenuCurrent">FAQ</SPAN></TD></TR>\r
 <TR><TD><A href="support.html" class="MenuLink">Support</A></TD></TR>\r
 <TR><TD><A href="links.html" class="MenuLink">Links</A></TD></TR>\r
 </TABLE>\r
 <TABLE cellpadding=2 cellspacing=0 border=0 width="100%">\r
 <TR><TD><HR></TD></TR>\r
-<TR><TD><A href="http://sourceforge.net/projects/sevenzip/"><IMG src="http://sourceforge.net/sflogo.php?group_id=14481&type=11" width=120 height=30 border=0 alt="7-Zip at SourceForge.net"></A></TD></TR>\r
-<TR><TD><A href="http://sourceforge.net/forum/forum.php?forum_id=45797">Forum</A></TD></TR>\r
-<TR><TD><HR></TD></TR>\r
 </TABLE>\r
+\r
 <P>\r
 <B>English</B><BR>\r
-<A href="http://7-zip.hit.bg/">Bulgarian</A><BR>\r
-<A href="http://7z.sparanoid.com/">Chinese Simpl.</A><BR>\r
+<A href="http://sparanoid.com/lab/7z/">Chinese Simpl.</A><BR>\r
+<A href="http://www.developershome.com/7-zip/">Chinese Trad.</A><BR>\r
+<A href="http://7zip-eo.rnbastos.com/">Esperanto</A><BR>\r
 <A href="http://www.spiroo.be/7zip/">French</A><BR>\r
+<A href="http://www.7-zip.de/">German</A><BR>\r
 <A href="http://sevenzip.sourceforge.jp/">Japanese</A><BR>\r
+<A href="http://7-zip.org.pl/">Polish</A><BR>\r
 <A href="http://7zip.rnbastos.com/">Portuguese Brazil</A><BR>\r
-<A href="http://7-zip.org.ua/ru/">Russian</A><BR>\r
-<A href="http://www.7-zip.si/">Slovenian</A><BR>\r
-<A href="http://7-zip.org.ua/">Ukrainian</A><BR>\r
+<A href="http://7zip-es.updatestar.com/">Spanish</A><BR>\r
+<A href="http://7zip-thai.inetbridge.net/">Thai</A><BR>\r
+<A href="http://7zip-vi.updatestar.com/">Vietnamese</A><BR>\r
 </P>\r
 \r
 </TD>\r
 <P>Yes, 7-Zip is free software. You can use it on any computer. You don't need to \r
 register or pay for 7-Zip.</P>\r
 \r
-<H4>Why do the add, delete and update operations not work for some existing archives?</H4>\r
-<P>The current version of 7-Zip can't execute some operations with .7z archives that have been \r
-created with the "solid" option switched on. You can disable solid mode with -ms=off switch \r
-in command line</P>\r
+<H4>How can I set file associations to 7-Zip in Windows 7 and Windows Vista?</H4>\r
+<P>You must run 7-Zip File Manager in administrator mode. \r
+Right-click the icon of 7-Zip File Manager, and then click <B>Run as administrator</B>.\r
+Then you can change file associations and some other options.</P>\r
 \r
-<H4>What about ACE archive support?</H4>\r
-<P>Support for ACE archives could be implemented in 7-Zip, if the source code \r
-of that format was available, and the license allowed it. The Unace.dll \r
-library from the authors of the ACE program is not \r
-compatible with the plugin interface of 7-Zip (Unace.dll works with files, but \r
-7-Zip only allows plugins to work with abstract streams). For this reason 7-Zip can't use \r
-Unace.dll without a complex wrapper.</P>\r
+<H4>Why 7z archives created by new version of 7-Zip can be larger than archives created by old version of 7-Zip?</H4>\r
 \r
-<H4>Why doesn't the command line version add files without extensions to an archive?</H4>\r
-<P>You're probably using a *.* wildcard. 7-Zip doesn't use the operating system's wildcard mask parser, \r
-and consequently treats *.* as any file that has an extension. \r
-To process all files you must use the * wildcard instead or omit the wildcard altogether.</P>\r
+<P>New versions of 7-Zip (starting from version 15.06) use another file sorting \r
+order by default for solid 7z archives.</P>\r
+\r
+<P>Old version of 7-Zip (before version 15.06) used file sorting "by type" ("by extension").</P>\r
+<P>New version of 7-Zip supports two sorting orders:</P>\r
+<UL>\r
+  <LI>sorting by name - default order.</LI>\r
+  <LI>sorting by type, if '<B>qs</B>' is specified in <B>Parameters</B> field in "Add to archive" window, \r
+     (or <B>-mqs</B> switch for command line version).</LI>\r
+</UL>\r
+\r
+<P>You can get big difference in compression ratio for different sorting methods,\r
+if dictionary size is smaller than total size of files.\r
+If there are similar files in different folders, the sorting "by type" can provide \r
+better compression ratio in some cases.</P>\r
+\r
+<P>Note that sorting "by type" has some drawbacks.\r
+For example, NTFS volumes use sorting order "by name", so if an archive uses \r
+another sorting, then the speed of some operations for files with unusual order \r
+can fall on HDD devices (HDDs have low speed for "seek" operations).</P>\r
+\r
+<P>You can increase compression ratio with the following methods:</P>\r
+<UL>\r
+  <LI>Increase dictionary size. It can help when 'qs' is not used.</LI>\r
+  <LI>Specify '<B>qs</B>' in <B>Parameters</B> field (or use <B>-mqs</B> switch for command line version).</LI>\r
+</UL>\r
+\r
+<P>If you think that unusual file order is not problem for you, \r
+and if better compression ratio with small dictionary is more important for you,\r
+use '<B>qs</B>' mode.</P>\r
 \r
 <H4>Why can't 7-Zip open some ZIP archives?</H4>\r
 <P>In 99% of these cases it means that the archive contains incorrect headers.\r
@@ -81,8 +101,50 @@ just ignore errors.</P>
 Instead try to find the program that was used to create the archive and inform the developers \r
 of that program that their software is not ZIP-compatible.</P>\r
 \r
-<P>There are also some ZIP archives that were encoded with methods unsupported by 7-Zip. \r
-Some of these unsupported methods: PPMd (WinZip), WAVPack (WinZip).</P>\r
+<P>There are also some ZIP archives that were encoded with methods unsupported by 7-Zip,\r
+for example, WAVPack (WinZip).</P>\r
+\r
+<H4>Why can't 7-Zip open some RAR archives?</H4>\r
+<P>7-Zip 9.20 supports RAR 2/3/4 formats only and doesn't support RAR5 archives.\r
+But latest versions of 7-Zip supports RAR5 archives.</P>\r
+\r
+<H4>Why does drag-and-drop archive extraction from 7-Zip to Explorer use temp files?</H4>\r
+<P>7-Zip doesn't know folder path of drop target.\r
+Only Windows Explorer knows exact drop target.\r
+And Windows Explorer needs files (drag source) as decompressed files on disk.\r
+So 7-Zip extracts files from archive to temp folder and then \r
+7-Zip notifies Windows Explorer about paths of these temp files.\r
+Then Windows  Explorer copies these files to drop target folder.</P>\r
+\r
+<P>To avoid temp file usage, you can use Extract command of 7-Zip or \r
+drag-and-drop from 7-Zip to 7-Zip.</P>\r
+\r
+<H4>Why doesn't the command line version add files without extensions to an archive?</H4>\r
+<P>You're probably using a *.* wildcard. 7-Zip doesn't use the operating system's wildcard mask parser, \r
+and consequently treats *.* as any file that has an extension. \r
+To process all files you must use the * wildcard instead or omit the wildcard altogether.</P>\r
+\r
+<H4>Why doesn't -r switch work as expected?</H4>\r
+<P>In most cases you don't need -r switch.\r
+7-Zip can compress subfolders even without -r switch.</P>\r
+<P>Example 1:</P>\r
+<PRE>  7z.exe a c:\a.7z "C:\Program Files"</PRE>\r
+<P>compresses "C:\Program Files" completely, including all subfolders.</P>\r
+<P>Example 2:</P>\r
+<PRE>  7z.exe a -r c:\a.7z "C:\Program Files"</PRE>\r
+<P>searches and compresses "Program Files" in all subfolders of C:\ (for example, in "C:\WINDOWS").</P>\r
+If you need to compress only files with some extension, you can use -r switch:\r
+<PRE>  7z a -r c:\a.zip c:\dir\*.txt </PRE>\r
+<P>compresses all *.txt files from folder c:\dir\ and all it's subfolders.</P>\r
+\r
+<H4>How can I store full path of file in archive?</H4>\r
+<P>7-Zip stores only relative paths of files (without drive letter prefix).\r
+You can change current folder to folder that is common for \r
+all files that you want to compress and then you can use relative paths:</P>\r
+<PRE>\r
+  cd /D C:\dir1\\r
+  7z.exe a c:\a.7z file1.txt dir2\file2.txt\r
+</PRE>\r
 \r
 <H4>Why can't 7-Zip use big dictionary in 32-bit Windows?</H4>\r
 <P>32-bit Windows allocates only 2 GB of virtual space per one application. \r
@@ -93,11 +155,26 @@ So you can use any dictionary in Windows x64, if you have required amount of phy
 \r
 <H4>How can I install 7-Zip in silent mode?</H4>\r
 \r
-<P>Use the "/S" parameter to do a silent installation and the "/D=dir" parameter \r
-to specify the "output directory". These options are case-sensitive. \r
-7-Zip uses the NSIS installer by Nullsoft.</P>\r
+<P>For exe installer: Use the "/S" parameter to do a silent installation and the "/D=dir" parameter \r
+to specify the "output directory". These options are case-sensitive.</P>\r
+\r
+<P>For msi installer: Use the /q INSTALLDIR="C:\Program Files\7-Zip" parameters.</P>\r
 \r
 \r
+<H4>How can I recover corrupted 7z archive?</H4>\r
+\r
+<P>There are some possible cases when archive is corrupted:\r
+<UL>\r
+  <LI>You can open archive and you can see the list of files, but when you press \r
+      Extract or Test command, there are some errors: Data Error or CRC Error.\r
+  <LI>When you open archive, you get message "Can not open file 'a.7z' as archive"\r
+</UL>\r
+\r
+<P>It's possible to recover some data. Read about recovering procedure:\r
+\r
+<P><A href="recover.html">Recover corrupted 7z archive</A></P>\r
+\r
+<BR><BR>\r
 <H2><a name="developer_faq"></a>Developer FAQ</H2>\r
 \r
 <H4>Why are there linking errors when I compile 7-Zip or LZMA SDK with Visual C++ 6.0?</H4>\r
@@ -147,5 +224,9 @@ that DLL. That is the idea of free software. Read more here:
 You can also read about the <A href="sdk.html">LZMA SDK</A>, which is available \r
 under a more liberal license.</P>\r
 \r
-<HR><P><SMALL>Copyright (C) 2009 Igor Pavlov.</SMALL></P>\r
-</TD></TR></TABLE></BODY></HTML>\r
+\r
+<HR>\r
+<P><SMALL>Copyright (C) 2018 Igor Pavlov. The site is hosted at <A href="https://www.digitalocean.com/?refcode=cab893b82fa8">Digital Ocean</A> </SMALL></P>\r
+</TD></TR></TABLE>\r
+\r
+</BODY></HTML>\r