"Don Juan (leidegre)" <DonJuanleidegre@discussions.microsoft.com> wrote in
message news

310035B-0071-4F12-AB44-B9E884700170@microsoft.com...
> This is not really possible as far as I know.
>
> What you can do is that you can get all the file descriptors or "open file
> pointers" to the file you wish to "release" and see what applications is
> currently locking it. But from there I'm pretty sure you cant change the
> "sharing policy". So basically if the FD is set to no sharing, you can
> only
> figure out what application is using the file, and if so choose to close
> that
> app to relase the file for what purpose you need it.
And to figure out which application is using the file, you can use these
Sysinternals tools: procexp.exe or handle.exe. You can get these free at:
http://www.microsoft.com/technet/sys...s/default.mspx
--
Keith