Try this:
OpenedFilesView v1.02
Copyright (c) 2006 Nir Sofer
Web site:
http://www.nirsoft.net
Description
===========
OpenedFilesView displays the list of all opened files on your system. For
each opened file, additional information is displayed: handle value,
read/write/delete access, file position, the process that opened the
file, and more...
Optionally, you can also close one or more opened files, or close the
process that opened these files.
This utility is especially useful if you try to delete/move/open a file
and you get one of the following error messages:
* Cannot delete [filename]: There has been a sharing violation. The
source or destination file may be in use.
* Cannot delete [filename]: It is being used by another person or
program. Close any programs that might be using the file and try again.
When you get one of these error messages, OpenedFilesView will show you
which process lock your file. Closing the right process will solve this
problem. optionally, you can also release the file by closing the handle
from OpenedFilesView utility. However, be aware that after closing a file
in this way, the program that opened the file may become unstable, and
even crash.