What if the file cannot be deleted under the Win7 system?

Source: Internet
Author: User

Files cannot be deleted under the Win7 system, typically because a "behind-the-scenes" process is calling the file. You can now easily handle it with the resource Monitor in Windows7.

Now let's simulate a situation where the current file cannot be deleted. In D disk, create a folder named Test, and then run the command prompt (CMD) and locate the command path in the folder directory.

At this point, we delete the test folder and we can see a dialog box that pops up: the operation cannot be completed, and the folder or file opens in another program.

Then we right-click on the Windows7 taskbar to select the "Start Task Manager" command, and then click the "Performance" tab in the Windows7 Task Manager Console window and click on the Resource Monitor button on the tab to enter the Resource Monitor console. Click the "CPU" tab in the console to navigate to the tab, and then enter "test" in the search box to the right of the associated handle, and the system automatically searches for the system process associated with the test handle. Wait a moment, as shown in the figure to see the search to the process of Cmd.exe.

Then we right-click the process, then select the "End Process" command to eject the warning dialog box and confirm that the Cmd.exe process can be completed. Finally, delete the test folder and you can see that the folder was successfully deleted.

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.