Home  >  Article  >  Software Tutorial  >  How to compress files into RAR? How to decompress?

How to compress files into RAR? How to decompress?

王林
王林forward
2024-02-18 14:15:182625browse

php editor Strawberry will introduce you how to compress files into RAR format and decompress them. RAR is a common file compression format that can effectively reduce file size and facilitate transmission and storage. With the RAR compression tool, you can easily pack files or folders into RAR format, and you can also decompress RAR files to get the original files. Next, we will introduce the compression and decompression methods of RAR files in detail so that you can easily master this skill.

RAR is one of the common compressed file formats, unique to WinRAR software. If you need to compress the file into RAR format, you can use WinRAR to operate it.

The compression method is as follows:

1. Install WinRAR compression software on your computer, then select the files or folders that need to be compressed, right-click the mouse and select [Add to compressed file].

How to compress files into RAR? How to decompress?.

2. After the [Compressed File Name and Parameters] window pops up, you can modify the compressed file name and set other parameters as needed; click [Browse] to select the compressed saving path; the compression format directly defaults to RAR. Finally, click [OK] to compress it into a RAR format file.

How to compress files into RAR? How to decompress?

.

How to decompress the compressed RAR file?

We can still use WinRAR to decompress, or other compression software, such as 7-Zip compression software. Although these compression software cannot compress files into RAR format, they can be used to decompress RAR. Here's how to do it.

Use WinRAR:

After selecting the RAR compressed file with the mouse, click the right button of the mouse and select [Extract file] or [Extract to current folder] to decompress.

Selecting the former will pop up a new dialog box, and you can choose the saving path and other parameters after decompression; choosing the latter will directly decompress to the folder where the RAR is located.

How to compress files into RAR? How to decompress?.

You can also open the RAR compressed file through WinRAR and select [Extract to] in the menu interface to decompress the file.

How to compress files into RAR? How to decompress?

.

Use 7-Zip compression software:

7-Zip compression software can also decompress RAR files.

Open the RAR compressed file through 7-Zip, and then click [Extract] in the menu bar. When the dialog box pops up, select the decompressed saving path, and then click [OK] to complete the decompression.

How to compress files into RAR? How to decompress?

.

If a password is set for the RAR compressed file, then when decompressing, whether using WinRAR or 7-Zip software, a dialog box will pop up, prompting you to enter the password.

We only need to enter the originally set password in the [Enter Password] column, and then click [OK] to complete the RAR decompression.

How to compress files into RAR? How to decompress?.

Use 7-Zip compression software to decompress, you will also be prompted to enter a password. Similarly, enter the password in the [Enter Password] column and click [OK] to continue decompression.

How to compress files into RAR? How to decompress?

.

If you forget the password of the RAR compression software, will you be unable to decompress it? Because WinRAR and 7-Zip, or other compression software, do not have a forget password option, so if you set a password and forget it, you will not be able to decompress the file.

When encountering this situation, you can try to use other tools to solve the problem. Although it cannot directly remove the password, it can help us retrieve the original password.

Take the Pepsi Niu RAR password recovery tool as an example. The tool provides 4 retrieval methods. After importing the RAR compressed file, select the appropriate method to proceed to the next step.

Tool link:Pepsi Niu RAR password recovery tool

How to compress files into RAR? How to decompress?

After filling in the relevant information according to the prompts, just wait for retrieval.

How to compress files into RAR? How to decompress?

The above is the detailed content of How to compress files into RAR? How to decompress?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:passneo.cn. If there is any infringement, please contact admin@php.cn delete