WinRAR is not just as simple as compression

  

As long as you use a computer, you will definitely get in touch with compressed files! From a professional point of view, compression is actually a program algorithm. With this algorithm, a large file can be compressed as small as a compressed cookie, thus saving a lot of hard disk space. When you need to use this compressed file, The file data can be restored (ie, decompressed) by an algorithm. There are a lot of popular compression/decompression software on the web, the most famous ones are WinZip and WinRAR. Among them, WinRAR not only has most of the features of WinZip, but also provides a RAR compression format with a higher compression ratio than ZIP, so that it will become the mainstream compression/decompression software.
The rookie to get started task

Task 1: 50 megabytes and 10 megabytes of large files easily online

Task Description: The film factory staff called Lin MM, saying yes A TIF image file cannot be opened and cannot be filmed. The film factory is far from the magazine, and it takes half a day to go back and forth. But the printer at the printing factory is waiting for the cover film. What should I do? The best way is to pass it over the Internet, but the picture is too big, with 57 trillion. It seems that it can only be compressed with WinRAR and then passed.

Step 1: Double-click "My Computer" on the desktop, then double-click to open the folder where the image file is located. Find the image file (design.tif in this case) and right click on it, then a right-click menu pops up. If your system has been installed WinRAR software, then right-click menu will be shown in a few selected

Tip

Please do not need right away menu items shown in Figure 1 < Br>

WinRAR will add its own project by default in the Explorer right-click menu after installation, but some of the items are not what you need, you can open the WinRAR main window (open from "Start → Programs → WinRAR", or Double-click a RAR archive package, click "Options → Settings", enter "Composite" in the pop-up window, click the "Select context menu item" button, in the menu that opens, you can select the item displayed in the right-click menu.

Step 2: Click the "Add to 'disign.rar'" command item directly (Note: The file name in the command item is automatically extracted from WinRAR according to the selected file, depending on the selected file. Change) to start the compression operation, there will be an operation window to display the compression progress, the file is automatically saved as "design.rar" after the end, you can see that the file changed from the original 57 trillion to 13 trillion, the compression rate is enough High. If you select the "compress to 'disign.rar' and E-mail" command item, the Outlook or OE mail window will open after the compression is completed, and the compressed file will be automatically placed in the attachment, simply in the recipient column. Enter the recipient's E-mail address and send it.

Step 3: After the other party receives the zip file you sent, if he also installed WinRAR, just right click on the zip file and click the "Extract to design\\" command from the right-click menu. You can automatically create a folder named design in the current directory and extract the files into it.

Tips

★The above method can quickly complete the operation of compressing files, but there is not much room for choice. If you want to set more options for compression options, such as: change a file name, To change the compression format, change the file save path, etc., you need to select the "Add to compressed file" command to open the WinRAR parameter setting window (see Figure 2). After making various settings, click the "OK" button to execute the compression. .



★ You can compress multiple files or folders into a single compressed file, with the Ctrl or Shift key to select multiple files or folders and then right-click and choose The corresponding command can be.

★ If you don't know why, after WinRAR is installed, the above command is not found in the right-click menu. At this time, you can directly start WinRAR to complete the compression operation.

Step 1: Start WinRAR to open its main window, click the drop-down button on the right side of the address bar to find the partition where the file is to be compressed (in this case, C drive), double click in the window below to open the corresponding Folder (see Figure 3).

Step 2: Click on the file to be compressed, and then click the “Add” button on the toolbar to open the parameter setting dialog box. After making various settings, you can confirm.

Advanced Example 1: A self-extracting file in the DOS environment

By default, the resulting self-extracting files can only run in the Windows environment. In fact, WinRAR can also generate self-extracting files running under DOS.
Step 1: Right click on a file (or select multiple files and then right click), select the "Add to Compressed Package" command item.

Step 2: In the parameter setting window, the compressed file format is set to “RAR” by default and remains unchanged. In the Compression Options, click to select Create a self-extracting format compressed file.

Step 3: Click on the "Advanced" tab, then click on the "Self-Extraction Options" button, click on the "Modules" tab in the "Advanced Self-Extraction Options" window that opens, and then select "Self-decompression Module" Select the "DOS.SFX" item in the list below. Finally, click the "OK" button, and the generated self-extracting file package can be executed in the DOS environment.

Task 3: Make a professional installation program for multimedia courseware

Task Description: In the first issue of the 2005 issue of "Software You Don't Cow", I taught everyone how to make it in Authorware. The method of multimedia photo album, in order to run this multimedia program correctly in someone else's computer, you must publish the relevant Dll file, xtras folder and other content along with the main program. Now we can make an installer via WinRAR so that everyone who wants to enjoy your multimedia work will find it professional. The installation program completed in this example can not only copy all the files to the corresponding directory, but also create a shortcut icon on the desktop, and double-click to run the multimedia software.

Step 1: Right click on the root directory of the multimedia album (in this case, the root directory is "dzxc"), select the "Add to Compressed Package" command item to open the parameter setting window, and keep the default compressed file format as " RAR" does not change. In the "Compression Options", click to select the "Create self-extracting format compressed file" item.

Step 2: Click on the "Advanced" tab, then click on the "Self-extraction option" button, in the "General" tab of the "Advanced Self-Extraction Options" window that opens, in the "Extraction Path" input "c:\\temp", and select "Save and Restore Path" below. Enter "dzxc \\ dzxc.exe" (see Figure 5)

The third step in the "Run after extraction": Click "Text and icons" tab in the "self-extracting file window title", type "install Multimedia Album", enter the prompt you want to say in the "Text displayed in the self-extracting file window". If you want to set your own unique icon for the installer, you can find the ICO icon file prepared in advance by clicking the "Browse" button below.

Step 4: Click the “License” tab, enter “License” in the “License Window Title”, and enter the copyright notice in “License Text”, such as: “The software does not have any copyright protection, you You can copy and spread at will."

Step 5: Click on the "Advanced" tab and then click on the "Add Shortcut" button. Select "Where to create" under "Desktop", enter "dzxc\\dzxc.exe" in the source file name under the shortcut parameter, "Target folder" is empty, and enter "Run multimedia album" in "Shortcut description" ", "My Multimedia Album" is entered in "Shortcut Name".

Step 6: Click the “OK” button continuously to generate a self-extracting file according to the above settings. Share this program to a friend, or post it to others for download. The person who gets this program just double-clicks the self-extracting file and clicks the "Install" button in the open window to install the program to the folder you specify. In the middle, and generate a program icon on the desktop, double-click the icon to enjoy your work, is it cool (can be downloaded at http://www.newhua.com/cfan/200504/dzxc.exe) Installer).

Task 4: Document Management Anything

Task Description: There are many compressed file formats supported by WinRAR. Double-click any compressed package file to see it in the WinRAR window. Included documentation. In addition to the compressed package file, you can also view the contents of each disk in the system in WinRAR. You can perform various file operations such as running programs and opening documents. Therefore, we can also use WinRAR as a temporary resource manager. use.

(1) File Search and Full-Text Search

WinRAR can not only find files in the disk directory, but also find related files in various compressed files. For example, we need to find setup.exe in various directories and compressed files under the C drive.

Step 1: Start WinRAR, click the "Find" button on the toolbar to open the "Find Files" window, enter "setup.exe" in "File Names to Find", in "Disks and Files" Select "C:" in the folder (see Figure 6).


Step 2: Click the “OK” button to search. The search results will appear in a list. Double-click in the list window to open the file for viewing. Click the “Locate” button to quickly Switch to the directory where the file is located.

Tips

If you select the Find in File item and then enter a keyword in the String to Find, you can perform a full-text search inside the document.

(2) View hidden files

By default, some content on the disk is not allowed to be viewed by the user, such as the boot file boot.ini, system folder, and page under the C drive. Documents, etc. In WinRAR, these secrets can be seen at a glance, and each hidden file is displayed.

Note: Do not delete these files by mistake in WinRAR! Because the files deleted in WinRAR are not placed in the recycle bin, it is difficult to recover.

(3) Back up important files at any time

Recently, the hard drive of the author is a bit abnormal. In order to prevent the hard-working manuscripts from being lost, always compress the backup of the “D:\\Manuscript” directory at any time. Go to the USB flash drive (the drive letter is K).

Step 1: Right click on the "D:\\Documents" folder in the Explorer, select the "Add to Compressed Files" command to open the parameter settings window, click the "Browse" button, the path will be saved Set to K drive (ie on my USB drive). Click the "Update Method" drop-down button to select "Add and Update Files", so that only files with changed content will be backed up each time, and files that have not been changed will not be backed up repeatedly.

Step 2: Click the “Configure” button, select “Save Current Configuration as New Configuration” to open the configuration parameter window, change the “Configuration Name” to “Save Manuscript”, and select “Save Compressed File Name”. ", save the selected file name" and "create shortcuts on the desktop" item, click the "OK" button twice to exit and perform the first backup operation.

Step 3: Later, when there is a change in the manuscript folder, double-click the “Save Manuscript” shortcut icon on the desktop to open the WinRAR window, and press the “OK” button to complete the new backup. You can also click “Start → Settings → Control Panel → Task Schedule” to create a scheduled task. After setting according to the wizard prompts, you can achieve the effect of scheduled backup.

Tips

If you don't want each backup file to overwrite the previous backup, click on the "Backup" tab in the parameter settings window and check the "Block" The code generates a compressed file name item.

Do you know?

WinRAR is actually just a shell of RAR compression software, making it easier for us to use RAR. In the DOS era, RAR was not the first compression software. At the time, compression tools such as Pkzip and Arj were more popular than RAR. When RAR launched version 2.0 (see Figure 7), people were surprised to find that it actually took the window to work, and also supported mouse operations, especially its compression ratio and compression speed, let users look at it. It is also from this version that RAR came to the fore and gradually became a favorite compression tool.



Copyright © Windows knowledge All Rights Reserved