6

Possible Duplicate:
How do I delete a 'locked' file?

Sometimes it happens that I can't delete a file because it appears to be in use by some program. Of course there is no obvious process using it (it's not that I don't see VLC playing an AVI I want to erase), so how can I find out what's keeping it busy?

Matteo Riva
  • 9,171

3 Answers3

6

Install Process Explorer. Choose “Find / Handle or DLL” in the menu and enter a substring of the file name.

There's also Handle if you want a command line interface.

5

There's a great freeware tool called Unlocker that can solve this exact problem rather easily.

Bob
  • 61,637
LawrenceC
  • 73,957
-1

How to take ownership of a file or a folder in Windows XP

http://support.microsoft.com/?kbid=308421

Aki
  • 519
  • 2
    Taking ownership is not the same as find out what other user/process has the file locked. – ChrisF Sep 25 '10 at 13:53