Processing and Analysis of files that cannot be deleted

Source: Internet
Author: User

There are three main reasons for this: first, the file is being used by the system, second, the file name contains characters that cannot be recognized by the system, and third, insufficient user permissions. We will mainly study the first two cases. We will make a summary below to help you solve this problem.

I. Basic Type

1. Step-by-Step Deletion. If you delete a folder, you can first delete the files in the folder and then delete the folder. Another way is to create a file under the folder and then delete the folder.

2. Rename and delete it. Rename a file or folder that cannot be deleted before deleting it.

3. Stop the process and then delete it. When you delete a file, if the system prompts "the file is in use", first check whether the file is not deleted.ProgramAnd check whether there are any related process retained in the system process. This often happens when the software is removed and files remain in the system.

4. Restart and delete the instance.

5. Change the system and then delete it. Users who use multiple systems can switch to another system to perform the delete operation, which is more effective. A friend of a single system can use the RD (delete directory) or delete command (delete file) in DOS or enter safe mode to delete the file.

6. Stop the explorer process and delete it. Press CTRL + ALT + DEL to open the task manager, switch to the "processes" tab, and end the explorer process. At this time, the desktop will be lost. Don't worry, Run "File> new task ", enter "cmd" and press enter to open the command line window, enter the directory where the file to be deleted is located, and use the RD or delete command to delete the file. After the deletion is complete, run the "File> new task" command again, enter "Explorer", Press enter, and the desktop is back.

7. Disable the preview function and delete it. If you use the video or image preview function in the resource manager, it is often unsuccessful to delete such files. The solution is to disable the function: in Windows XP, enter "regsvr32/u shmedia" in "Start> Run. in Windows 2000, right-click the blank space in resource manager and select the "Custom folder" option. The custom folder wizard appears, after entering the "select template" window, select "simple" to disable video preview.

Ii. Garden and wood

1. overwrite the file and delete it. Create a file in another area of the hard disk with the same name as the file to be deleted, cut and overwrite the file to be deleted, and then delete the file.

2. Please use the software "part-time" to delete it. We can use WinRAR, flashfxp, Nero, and ACDSee to delete stubborn files. This method is often miraculous. The usage is very simple. Taking flashfxp as an example, you only need to browse the file to be deleted in the local directory and perform the delete operation on it.

Note: The method for deleting files using WinRAR is different from that of other software. The procedure is as follows: Right-click the file or folder to be deleted and select the "add to file" menu, in the dialog box, select "delete source file after Archiving" and click "OK". In this way, WinRAR will delete stubborn files while creating compressed files, you only need to delete the created compressed file.

3. Delete it on another machine. If you are in the LAN, you can try to set the attribute of the folder where the file to be deleted is located to share and grant the read/write permission to the folder, then, open the folder through a network neighbor or another computer in the local area network and perform the delete operation. In addition, if you have installed an FTP server on your computer, we can also try to log on to the local machine from FTP and delete the files to be deleted.

4. Use professional deletion software. The well-known PC Tools software can delete almost all "stubborn" software. After running the software, press any key to enter the main interface of the software, press F10, switch to select the file to be deleted, press d, and confirm the operation to delete the file.

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.