Why can't files in RAR archive be deleted?

PHPz
Release: 2024-02-18 14:45:16
forward
1000 people have browsed it

php editor Xigua will answer a common question for you today: "Why can't the files in the RAR compressed package be deleted?" When using the RAR compressed package, sometimes you will encounter the situation that the internal files cannot be deleted. The main reason is These files are still occupied, possibly because other programs are accessing these files or some processes in the operating system are occupying them. Solutions include closing related programs, restarting the computer, or using specialized tools to solve the problem of occupied files.

Why cant files in RAR archive be deleted?

Actually, this is the "Lock Compressed File" setting when the file is compressed . After setting, in addition to being unable to delete the files in the compressed package, new files cannot be added, such as WinRAR decompression software. The "Add" and "Delete" options will be directly displayed in a gray state and cannot be clicked.

Why cant files in RAR archive be deleted?

How to add or delete files in the compressed package after locking?

Since decompression software generally does not cancel the "lock compressed file" function, if we want to add or delete files in the RAR compressed package, we need to decompress the current RAR compressed package first, and then compress it into a file without "locked compressed file". file" compressed package.

Just decompress files as usual, click [Extract to] in the menu, then select the decompressed save path and other necessary options on the [Extract Path and Options] page, and then click [OK]. The decompression is completed.

Why cant files in RAR archive be deleted?

If the RAR archive is not only set up to "Lock the compressed file", but also set up password protection, then during the decompression process, that is, after completing the previous step, a dialog box will pop up, prompting you to enter a password. To decompress the file, we need to enter the originally set password in the password field, and then click [OK] to complete the decompression of the file.

Why cant files in RAR archive be deleted?

Of course, if you forget the password and cannot decompress the decompressed package, you will not be able to add or delete files to the compressed package with "Lock Compressed Files" set.

The decompression software does not have a "forgot password" option, so if we forget the password, we might as well use other tools to retrieve the password of the compressed package first.

Take the Pepsi Niu RAR password recovery tool as an example. The tool provides 4 retrieval methods, which can help us retrieve the password of RAR compressed files and RAR volume compressed files.

First import the RAR file into the tool, then select the appropriate method and fill in the relevant information according to the prompts;

Tool link: Pepsi Niu RAR password recovery tool

Why cant files in RAR archive be deleted?

Then wait for the password to be retrieved.

Why cant files in RAR archive be deleted?

The above is the detailed content of Why can't files in RAR archive be deleted?. For more information, please follow other related articles on the PHP Chinese website!

source:passneo.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template