This is a 7-zip file that uses commands to compress and decompress the file. Download the zip package from the official website. Because Windows XP/2003can directly folder ZIPs as special files, install winzips to open them, and copy the 7za.exe file to the C:/Windows/directory. In this way, you can call 7-zip in any directory through the command line.Program, Decompress the compressed file, just like using tar on Linux.
Enter 7za in the command line to display the help of 7za:
7-zip (a) 4.42 copyright (c) 1999-2006 Igor Pavlov 2006-05-14
Usage: 7za[ ...] [ ...]
[]
A: add files to archive
D: delete files from archive
E: Extract files from archive (without using directory names)
L: List contents of Archive
T: Test integrity of Archive
U: update files to archive
X: Extract files with full paths
-Ai [R [-| 0] {@ listfile |! Wildcard}: include archives
-Ax [R [-| 0] {@ listfile |! Wildcard}: exclude Archives
-BD: Disable percentage indicator
-I [R [-| 0] {@ listfile |! Wildcard}: Include filenames
-M {parameters}: Set Compression Method
-O {directory}: Set output directory
-P {password}: Set Password
-R [-| 0]: recurse subdirectories
-SCS {UTF-8 | win | dos}: Set charset for List Files
-SFX [{name}]: Create SFX Archive
-Si [{name}]: read data from stdin
-Slt: Show technical information for L (list) command
-So: Write Data to stdout
-T {type}: Set Type of Archive
-V {size} [B | K | M | G]: Create volumes
-U [-] [p #] [Q #] [R #] [x #] [y #] [Z #] [! Newarchivename]: update options
-W [{path}]: assign work directory. Empty path means a temporary directory
-X [R [-| 0] {@ listfile |! Wildcard}: exclude filenames
-Y: Assume yes on all queries
Therefore, it is simple to use:
A. decompress the zip.zip file under the same directory to the TMP folder.
7za e-o TMP temp.zip
B .import tmpinto the temp.7z compressed package.
7za A temp.7z TMP
C. Upload All files in the current directory to the temp.7z package.
7z A-SFX temp.7z
D. Self-release program Creation
7z A-SFX temp.exe *. txt
(*) The self-release module must be supported, for example, 7zcon. SFX.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.