What's locking this file?

  • Thread starter Thread starter Snafu
  • Start date Start date
S

Snafu

I've used handle from sysinternals.com and the file I'm trying to delete
is not listed. Yet, when I try to delete it, it say another process is
using it.

How can I find out what process - or else clear the condition?
 
Snafu,

See if Process Explorer from Sysinternals helps. You may also use the OpenHandles tool available in the XP/2003 Resource Kit. Download it from:

http://www.microsoft.com/downloads/...69-57FF-4AE7-96EE-B18C4790CFFD&displaylang=en

Once installed, open Help and Support and search of OH.exe for exact parameters. Or type OH /? in Command Prompt.

Example: Type oh <filename> >C:\Output.txt

Wait for few seconds for the command to complete and open the file C:\Output.txt using Notepad. There you can see the process names which are currently using the <filename> file.

--
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k

AumHa VSOP: http://www.aumha.org

I've used handle from sysinternals.com and the file I'm trying to delete
is not listed. Yet, when I try to delete it, it say another process is
using it.

How can I find out what process - or else clear the condition?
 
Back
Top