How can I delete a file on Win7?

  
When deleting a file in a computer in Win7, the prompt "File is in use, cannot be deleted" or "The operation cannot be completed because the file is already open in XXX" is displayed, especially Temp. temporary folder. But look at the Win7 taskbar, obviously no program is started, who is using these files? How to delete them? Numerous questions, scratch mind do not know why, no problem, the system house to help you analyze this situation:

delete these files to be successful, we must first find out what processes called them, and then related applications The program closes. Compared to the old Windows system, Win7's "File in use" dialog has been improved, it will tell us what program is calling the file.

But very often the system still can not list them all documented procedure calls, so we are still unable to successfully delete the file. At this time, Win7 "resource monitor" will work.

open Resource Monitor. In the Start Search box, type Resource Monitor and press Enter to open it.

If you are prompted for an administrator password or confirmation, type the password or provide confirmation.

in the "Resource Monitor" dialog box, switch to the "CPU" tab. Click the small arrow to the right of the "Associated handles" column to expand it. Enter the file name in the search field (if the file name is longer, enter a partial file name), and then press the Enter key. Now, all the processes related to the file are listed in the "Image" column.

the process calls the file selected, right mouse button, click on the "End Process" Now these documents can be successfully removed.


Copyright © Windows knowledge All Rights Reserved