By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,963 Members | 1,279 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,963 IT Pros & Developers. It's quick & easy.

Find out what program is locking a file

P: n/a
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!
Nov 20 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
"Juan Romero" <ju*********@bowne.com> wrote in
news:Ou**************@TK2MSFTNGP09.phx.gbl:
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/
Nov 20 '05 #2

P: n/a
Thanks for replying. I could not find any application to do that at
SysInternals.

Any other ideas out there?

"Chad Z. Hower aka Kudzu" <cp**@hower.org> wrote in message
news:Xn******************@127.0.0.1...
"Juan Romero" <ju*********@bowne.com> wrote in
news:Ou**************@TK2MSFTNGP09.phx.gbl:
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/

Nov 20 '05 #3

P: n/a
"Juan Romero" <ju*********@bowne.com> wrote in news:uiGv9MRPEHA.2128
@TK2MSFTNGP11.phx.gbl:
Thanks for replying. I could not find any application to do that at
SysInternals.

Any other ideas out there?


Look for FileMon, they used to have it there. I cannot imagine they have
removed it.
--
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/
Nov 20 '05 #4

P: n/a
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!

"Chad Z. Hower aka Kudzu" <cp**@hower.org> wrote in message
news:Xn******************@127.0.0.1...
"Juan Romero" <ju*********@bowne.com> wrote in news:uiGv9MRPEHA.2128
@TK2MSFTNGP11.phx.gbl:
Thanks for replying. I could not find any application to do that at
SysInternals.

Any other ideas out there?


Look for FileMon, they used to have it there. I cannot imagine they have
removed it.
--
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/

Nov 20 '05 #5

P: n/a
"Juan Romero" <ju*********@bowne.com> wrote in news:uB3kpyRPEHA.3596
@tk2msftngp13.phx.gbl:
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/
Nov 20 '05 #6

P: n/a
Hi Kudzu,

Thank you for the link, it looks interesting

Cor
Nov 20 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.