WinRAR practical skills data compression play batch

  

Compressed files are more and more in our computer, how to use WinRAR to quickly sort up the compressed files? How to quickly convert the compressed format, batch delete the files in the compressed package , batch extract the files you want, and add comments in batches, fix compressed files, and create self-extracting files?

First, batch conversion compression format

In a few easy steps, you can batch convert ZIP, ARJ, ACE, CAB, ISO and other compressed format files into RAR and ZIP files. .

Run WinRAR, switch the directory to the folder where the compressed file is saved, use the Ctrl and Shift keys in the file list to select the compressed file to be converted, click "Tools → Convert Compressed File Format", click "Convert" After the "Browse" folder next to the "Browse" button, select a storage folder, press the "OK" button to convert the selected multiple types of compressed files into RAR format. ZIP format, please click the "Compress" button, you can choose the compression type is RAR or ZIP, you can also set other parameters such as compression rate and volume compression.



Tips

Click WinRAR "File → Select a group" in the "Select" window In the "Input File Mask" text box, type: "*.rar" or other file extension, WinRAR will help you automatically select all the RAR files in the current folder. However, this selection method is additive, that is, we perform the above operations multiple times, and can select files in multiple formats at the same time. If you want to cancel the selection of a certain format file, select "File → Undo Select a Group" (or press the - sign on the numeric keypad), and then enter the file name to undo the selection of such files from the currently selected file.

Second, delete the useless files in the compressed package

There are folders for storing articles, and files of various periods and various categories are stored. After compression with WinRAR, the compression package is amazing. After careful inspection, I feel that I can delete the TIF and BMP image files that occupy the main volume, but only the files inside. Obviously, because the number and level of folders are many, if one file is deleted, the workload will be amazing, and the main problem of batch is that the image files are distributed in different folders in the compressed package, if they can be At the same time, the operation will be much more convenient.

Step 1: Read all the files clearly

Double-click the zip package and select "Options→File List→Plan Folder View" in the window that opens (or press the shortcut key: Ctrl+ H). At this point, all the files in the archive will be displayed in the window.

Step 2: Quickly select the required files

Click “File→Select a group” and enter *.tif; perform this operation again, input *.bmp, you can select All TIF, BMP files. Click the "Delete" button on the WinRAR toolbar. After a while, these files are removed from the archive.


Third, for the compressed package to lose weight in bulk If you often need to delete the files in the compressed package, the above method is still a little powerless, here is recommended another more efficient The method - the command line. Step 1: Create a batch file Create a clean.bat file and enter the following: FOR/r%%vIN(*.rar)DOwinrard%%v*.tif*.bmp-r-ibck Step 2: Copy necessary Copy all the files under the file to the folder (if it is Windows2000, copy it to C:Winnt). Step 3: Execute the batch file Copy the clean.bat file to the RAR folder to be sorted. Double-click the BAT file to delete all the TIF and BMP images in the compressed package in batches. Tip: Enter "FOR/r%%vIN(*.rar)DOwinrard%%v*.tif*.bmp*.tmp*.bak-r-ibck" to remove the TMP and BAK files from the RAR package. Finishing the zip package and the purpose of losing weight for the zip package. Fourth, batch extract files in the compressed package The same is the above compressed file, I want to extract all the text files separately. After selecting all the file files and extracting them according to the above method, there is a problem - when the files are unpacked, the original path information is also taken out, and each file is saved in each folder to which it belongs. In this way, if you want to browse these files, you have to switch between multiple folders, which is very inconvenient. In fact, select all the text files, then click "Extract to" in the toolbar, in the "Extraction path and options" window that pops up, switch to the "Advanced" tab, check the "Do not extract the path name" after the single Click OK and all the files are extracted to the same target file. Of course, we can also select all TXT files in WinRAR, and then directly drag and drop files to the "Explorer" folder, so that the decompressed files also do not contain paths. Tips batch processing is more convenient In addition, create an exttxt.bat file, enter the following: FOR /r %%v IN (*.rar) DO winrar e %%v *.txt -r Copy it to a folder, Double-click this BAT file to extract all the TXT files in all RAR archives of this folder to the current folder in batches. Five, automatic batch annotation How to add a comment to each compression package? Click Options→Settings, switch to the Compression Options tab, and click the Create Default Configuration button. Enter the contents of the comment in the "Comment" tab of the "Set Default Compression Options" window that pops up. After the completion of the file, you can automatically add comments each time you compress the file, and no longer need to manually operate.
Sixth, create a self-extracting file in batches In WinRAR, select multiple files by the above method, click "Tools → Convert compressed file to self-release format", select the self-release format module in the window, click "OK" Just fine. Tips You can make more settings for self-release files by clicking Advanced Self-Release Options.

Copyright © Windows knowledge All Rights Reserved