1

Possible Duplicate:
Tool to determine what has locked a file

Sometime when I delete a file/folder, Windows 7 tells me that the file is accessed by other program and cannot be deleted. I close all the processes as much as I can but it is still blocked.

So, I wanna get a list of program that are accessing one file/folder. How can I do this in Windows 7?

Nam G VU
  • 12,548

3 Answers3

3

Unlocker will do that.

It also lets you unlock the file with or without killing the locking process, and delete the file.

It's nicer than handle because it integrates into explorer.exe (adds an option to the right click menu).

(Note: deleting locked files can cause things to crash, if a program is in the process of using the file. On the other hand, sometimes programs hold file handles open well after they are actually done with the file (explorer.exe, I'm looking at you), so sometimes you can't really avoid using an unlocking utility.)

Bob
  • 63,170
Fake Name
  • 2,609
0

I use process explorer for this purpose all the tome. http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

James
  • 1
-1

Use Handle.

Ever wondered which program has a particular file or directory open? Now you can find out. Handle is a utility that displays information about open handles for any process in the system. You can use it to see the programs that have a file open, or to see the object types and names of all the handles of a program.