The following is a letter from WinRAR to the user (announcing personal free version)We are honored to announce that, after more than 15 years, we have now finally provided a completely free WinRAR Simplified Chinese version to individual users in China. This is because WinRAR's global exclusive distributor Win.rar GmbH and www.winrar.com.cn hope to thank the hundreds of millions of Chinese users for their l
The example in this article describes how C # uses the WinRAR command for compression and decompression operations. Share to everyone for your reference, specific as follows:
Using System;
Using System.Collections.Generic;
Using System.Linq;
Using System.Web;
Using System.Web.UI;
Using System.Web.UI.WebControls;
Using System.Diagnostics;
Using System.IO;
Public partial class Zip:System.Web.UI.Page {
We know that when we browse the Web page, the browser will automatically record our web browsing records, and we use WinRAR compression software or files, these operations are winrar recorded, then, in order to protect our personal privacy, It is necessary to learn how to clear the history of WinRAR software and cancel
WinRAR how to use? Some friends do not know how to set up WinRAR, in fact, WinRAR is a very good compression software, below and share the next winrar to create a default compression method, hope for everyone will be useful.
indicates the name of the compressed package (without the extension of the original file, such as the original file is Duxing.txt compressed Duxing.rar, this situation requires a note Meaning, if there is a Duxing.java in the same directory, will also be added to the Duxing.rar package; to include the original file name, change this section to%%i, and after compression, the name is Duxing.txt.rar).5. The last line of Ping-n 3 127.0.0.1>nul is 3 secon
A skill to use WinRAR, to tell the truth, I do not like WinRAR, but there is no denying that the software has its convenient place, in some details 7Zip is not as good as WinRAR do.For example, the WinRAR by default is RAR format, but we want to use a ZIP file by default, let WinRA
The principle of this article is to use the Windows platform-installed WinRAR (WinZip) to implement calls to C # programs (Note: WinRAR compression decompression WinZip is also applicable).Let's take a look at the support invocation command of WinRAR (WINZIP) itself:Compression command: a {0} {1}-r "{0}: File name afte
In the tutorial that uses WinRAR to divide large files into smaller files for compression, we recognize WinRAR's compression-and-volume capabilities. And about the compressed sub-volume This function has some use of the skills, many WinRAR users do not know, therefore, today's small part of the special for everyone to
WinRAR is our ordinary life work is very common in a compression decompression software, the general default of the compression package are RAR format, but we often use the ZIP format of compressed files, so we need to set its default compression format.
To set the default compres
For files larger file we will often compress or to transfer a larger file will also use compression, so that not only occupy space will become smaller, and the transmission process is easy to save the integrity of the file, but we sometimes encountered such a problem, is the compressed file was damaged. What about compressed file corruption? How do I fix compressed file corruption? In fact, the WinRAR
Sometimes in order to facilitate the transfer of files over the network, or to save storage space, we can use compressed software to compress packaging operations.There are many compression software. More commonly used is WinRAR, 7zip, good pressure and so on. Let's take winrar as an example to introduce.Download the installation
WinRAR is a lot of computer users are using a file compression software, today, we will be together to meet the winrar of a very useful feature: File volume compression function. So, what is the file sub-volume compression function, file sub-volume
Each time the company placed many files through a one-way transmission device, it can be transmitted via WinRAR command line compression.WinRAR a-r-EP1-DF Compression Package save path Compressed file (folder) pathFor example:"C:\Program files\winrar\winrar.exe" A-r-ep1-df "D:\dest\test.rar" "D:\src\"WinRAR x Compresse
Want to know how large the file to compress will be after compression? Open the WinRAR window, select the folder or file you want to compress, and then click the Info button on the toolbar, and in the Open window, click the estimate button in the estimate compression function bar, WinRAR will give you the
If the production of encrypted compression package is very frequent, and all are using the same common password, then completely can let winrar from the dynamic add password, in your production of compression package, the default password also automatically added in, very convenient. To do this: open winrar, select the
encryption
To c:/freezip/password 123456 Note No spaces between parameters
Strtxtpath = "c://freezip//";
Process1.StartInfo.Arguments = "x-p123456" + Strzippath + "" + Strtxtpath;
Process1.start ();
if (process1.hasexited)
{
Response.Write ("complete");
}
}
# re:c# (encrypted) compressed and uncompressed related folders and files
More WinRAR commands (from the WinRAR help document)
A add files
Let's look at WinRAR's own support invocation command:
Compression command: a {0} {1}-R ' {0}: Compressed filename | {1}: File physical path to compress
Ex: "A Your sister. rar f:\MM-r" (meaning to compress the folder in MM under F to "your sister. rar" file)
Decompression command: x {0} {1}-y ' {0}: File name to extract | {1}: File physical path to extract
Ex: "x sister. rar f:\ sister-y" (to be compressed file physical path: "F:\ sister, the you
There is a simple way to convert a compressed package in another format to a RAR package. First put these compressed packets under a folder, such as H:fan. Then open winrar, click Convert Compressed file format (shortcut key alt+q) on the Command menu, in the Open Convert Compressed Files dialog window, click the Add button, select the file you want to convert, and then tick the delete original compressed file check box, and then click OK button to co
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.