Find out what program is locking a file

J

Juan Romero

Guys,

Sometimes when you want to open a file, the file is locked for editing for
some reason. You are able to see the contents of the file (depending on the
program you are using) but you are not able to save your changes to it. I am
looking to make a program that can tell me what program is locking the file.

Does anyone know how to do this?

Thanks!
 
C

Chad Z. Hower aka Kudzu

Juan Romero said:
for some reason. You are able to see the contents of the file (depending
on the program you are using) but you are not able to save your changes
to it. I am looking to make a program that can tell me what program is
locking the file.

Does anyone know how to do this?

www.sysinternals.com


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Get your ASP.NET in gear with IntraWeb!
http://www.atozed.com/IntraWeb/
 
J

Juan Romero

Thanks for replying. I could not find any application to do that at
SysInternals.

Any other ideas out there?
 
J

Juan Romero

Thanks again.

That program still doesn't help. It shows me what program is trying to
access the file, but it doesn't tell me who is holding the file hostage.

Any other ideas?

Thanks!
 
C

Chad Z. Hower aka Kudzu

Juan Romero said:
That program still doesn't help. It shows me what program is trying to
access the file, but it doesn't tell me who is holding the file hostage.

But a program has to access a file to hold it hostage no? So if you see who
still has the file open, doesnt that answer your question?


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Empower ASP.NET with IntraWeb
http://www.atozed.com/IntraWeb/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top