Windows to see which process is consuming the file

Source: Internet
Author: User

Often when we delete a file, we sometimes prompt "The operation cannot be completed because the file is already open in another program, please close the file and try again", which program is it?

Sometimes a find is not a way, has been plagued by this problem for a long time, today determined to solve it, find a way. If the system is win7, you can do this:

In the search box in the Start menu, enter Resource Monitor and enter to open Resource Monitor.

Look, in the Resource Monitor interface, click the Second tab, CPU. Enter the file name in the search box to the right of the associated handle and click the right drop-down arrow to see if the file is occupied by those programs.

With the program selected, right-click to select End process.

Now it's time to delete the file. Before you finish the system process, it is better to check to see if it can end, lest there is a problem, it is not worth the candle.

Knowing the process ID can kill a process with a DOS command and kill the process with Taskkill-pid 4444-f.

Windows to see which process is consuming 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.