Delete files that cannot be deleted under win7

Source: Internet
Author: User

Many of my friends have found that some files cannot be deleted if they want to delete them. Today, I will give you a good method. The test environment is Windows 7.
Other systems are not tested. This method is very practical, and does not need to be restarted When deleting files like other methods, it also saves the trouble of restarting.
Next, go to the topic.
When you delete a file or folder, the following errors occur frequently, especially in temporary folders. The system prompts that the file is in use or the operation cannot be completed. The file has been opened in xxx.
How can I delete this problem? I will reveal the answer to it today!



To successfully delete these files, first find out which processes have called them, and then close the relevant applications. Compared with the previous operating system, the "file in use" dialog box of Windows 7 has been improved. Generally, it lists the programs in the calling file (as shown in the red box ). However, in many cases, the system still cannot list all programs that call files one by one, so files cannot be deleted smoothly. At this time, Windows 7 "Resource Monitor"-a well-known but practical tool-plays a role.
Solution:
Enable Resource Monitor. In the start search box, type "Resource Monitor" and press Enter.



If the system prompts you to enter the administrator password or confirm the password, enter the password or provide confirmation.



In the "Resource Monitor" dialog box, switch to the "CPU" tab. Click the small arrow on the right of the "associated handle" column to expand it. Enter the file name in the search box (if the file name is long, enter some file names) and press Enter. All processes related to the file are listed in the "image" column.



Select the process of the file to be called, right-click the process, and click "End Process ".



Now you can successfully Delete related files/folders. TIPS: search by using the associated handle. We can also query the process corresponding to the registry key value!



PS: Windows Vista and Windows XP systems do not have their own resource monitors and cannot perform similar queries. Instead, you can download a gadgets, Process Explorer (http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx), to use as needed.
After this article, you will not worry about deleting files that you cannot delete. Clean your system and delete files that you don't want.
If you encounter any problems or have any suggestions, contact us. If you think this article is well written, you can recommend it to your friends!
Your support is our greatest motivation!


This article is from admin, author of platinum DOS Network (bjdos.com)

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.