Use of compression and decompression tools under DOS
Source: Internet
Author: User
KeywordsAll the cipher the reconciliation if can
As you know, in order to save the file and save space occupancy, the file is often compressed. Moreover, because the file is compressed usually only a compressed file, easy to carry, but also password protection, so the file compression and decompression has become a common use of the operation, can be used in this site "DOS use" column to see. So how do you do these things? Here is a description of the DOS compression/decompression method.
&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Because of the different compression software, there are several compressed files, the most common compression format has zip, RAR, ARJ and so on. In particular, the ZIP format, the most widely used, the site's software is mostly this format. Dos on these zip files for the compression operation of a lot of tools, such as PKZIP, Infozip, and so on, the most famous and most practical is the Pkzip/pkunzip tool, its latest version is 2.50 version, can be downloaded in the "compression software" of the site, running the self-extracting file, You can then use it directly without having to install it. Some people use WinZip, WinRAR and other tools, from installation to use, usually need to take a series of steps to complete an operation, and Pkzip/pkunzip is very different, it inherits the DOS convenient and practical features, easy to use, Usually a single command can be used to do the corresponding operation of the zip, fast and efficient. Moreover, the Pkzip/pkunzip 2.50 is also very powerful, not only a very comprehensive operation, but also full support for file lists and long file names. Use the following pkzip/pkunzip and common command-line arguments:
pkzip [options] zip filename [file name to compress]
Among them, the commonly used options are (case-insensitive):
-A adds files to the compressed file.
-D deletes files from the compressed file.
-F Refreshes files in compressed files.
-u updates files in compressed files.
-p Stores the relative path of files that are compressed.
-R remembers the path structure of the file being compressed.
-S sets the password for the compressed file.
-V To view the contents of the compressed file.
Excludes the specified file when
-X compression.
-Z Adds or modifies annotations for compressed files.
For example: Pkzip-a-s:file BMPS. ZIP d:\*. BMP, this command compresses all files under D:\ with BMP to add to the Bmps.zip file and sets the compression password to "file".
If no option is specified, the Add/update file is automatically added to the zip compressed file, and all files under the current folder are operated by default if you do not specify a filename to compress. For example: PKZip FILES. Zip to compress all files under the current folder and add them to files.zip.
pkunzip [options] zip filename [filename to extract] [path to extract]
Among them, the commonly used options are (case-insensitive):
-D restores the path structure stored in the compressed file. -e Extracts files from compressed files. -F refreshes the extracted files. -O If this file is already in the case of decompression, direct overwrite operation. -S Enter the password for the compressed file for decompression. -T tests the integrity of the compressed file. -V View the contents of the compressed file. -X excludes the specified file when extracting.
For example: pkunzip-d-s:file BMPS. ZIP *. BMP can be bmps.zip files in the file extension of BMP files extracted, keep the path of the original file, and enter the password "file" to extract.
If you do not specify an option, the file is extracted automatically from the zip compressed file, and all files in the compressed folder are operated by default if you do not specify a filename to extract. For example: Pkunzip FILES. Zip to extract all the files in the Files.zip file.
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.