What to do if a folder cannot be deleted

Source: Internet
Author: User

  First, the general solution:

1, to remove or restart the computer, and then try to delete.

2, go to "Safe Mode delete".

3, use the Del,deltree and RD commands on the Pure DOS command line to remove it.

4, if you have more subdirectories or files in the folder that cannot be deleted, you can delete the subdirectories and files in the folder, and then delete the folders.

5, end the Explorer.exe process in Task Manager, and then delete the file at the Command Prompt window.

6, if you have installed acdsee,flashfxp,nero,total these several software, may try to delete the folder in these several software.

  Second, Advanced Solutions:

1, disk error

Run a disk scan and scan the partition where the file is located, make sure that the repair files and bad sectors are selected before scanning, scan all options thoroughly, and then delete the files after scanning.

2, pre-read mechanism:

Some media playback is interrupted or is being previewed, causing an inability to delete. In the Run box, enter: regsvr32/u Shmedia. DLL to log out of the read-only function. or delete the following key value in the registry: [Hkey_local_machinesoftwareclasses CLSIDInProcServer32].

3, Firewall:

Because anti-virus software consumes the files that are being checked while it is being searched, causing the prompt file to be used when the deletion is performed, you may be able to try to temporarily turn off its immediate monitoring program.

4,office, WPS series software:

Illegal shutdown of office can also cause files to be deleted or renamed. Rerun the program, then shut down normally, and then delete the file.

5, with the help of WinRAR:

Right-click the folder you want to delete and select Add to compressed file. In the pop-up dialog box, select the "compressed delete source file," Write a compressed package name, point to determine.

6, Permission issues:

If you are a 2000 and XP system, first determine if you have permission to delete this file or folder.

7, the deletion of the executable file:

If the executable's image or program calls DLL dynamic-link library files are not released in memory, the deletion prompts the file is in use, the solution is to delete the system's paging file, Win98 is Win386.swp,win2000/xp is Pagefile.sys. Note that you want to remove it in DOS.

8. File Shredding Method:

Using file shredder, such as file Pulverizer, you can completely remove some stubborn files.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.