(Windows) Finding out which process has locked a file.

CinnamonDonkey CinnamonDonkey at googlemail.com
Fri May 15 09:05:46 CEST 2009

I have to say, this has got to be one of the least helpful groups I am
subscribed to.

Some interesting links...




On 15 May, 03:47, "Gabriel Genellina" <gagsl-... at yahoo.com.ar> wrote:
> En Thu, 14 May 2009 08:42:07 -0300, Lawrence D'Oliveiro escribió:
> > In message <787d6072-3381-40bd-
> > af20-8e1a40405... at h23g2000vbc.googlegroups.com>, CinnamonDonkey wrote:
> >> I have a script running which occa[s]ionally fails because it is trying
> >> to delete a file in use by another process. When this happens I want
> >> it to log which process has the lock.
> > Maybe there is no such process. Maybe it's just the Dimdows filesystem
> > randomly returning a failure on its own. How would you know?
> Oh, c'mon, that's just nonsense and doesn't help anybody.
> --
> Gabriel Genellina

More information about the Python-list mailing list