rename running windows exe?

Pete Shinners pete at
Mon Oct 21 18:58:38 CEST 2002

this falls heavily into a straight win32 question, but i'm trying to
accomplish this under python, so i'm hoping there's an answer.

i'm trying to write a simple script that will help me manage distribution
of files on multiple platforms. i need a way to rename or move or delete an
executable or dll that is running. perhaps it's a thing that windows will
simply not allow.

if not, is there a way i can find the offending processes and offer to send
them a QUIT message? some simple dialog, "you need to close the following
programs: notepad, shall i try to close them for you?"

More information about the Python-list mailing list