En Thu, 09 Jul 2009 07:53:29 -0300, Rajat <rajat.dud...@gmail.com> escribió:

Thanks Tim for the details. Just further on this, my whole idea is to
close the wordpad / notepad application so that I can delete the file
and the directory where this file resides.

With notepad it is no more a problem. But I'm concerned about the
wordpad now.

I don't see Wordpad keeping the file open either.
If you can't remove the file, use "handle.exe filename.txt" to discover which process is holding it open, as Tim already explained.

--
Gabriel Genellina

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to