Hi everybody, i’m working on Microsoft Windows XP, and i want to make a
program to kill windows process by the name of the process, not by the
like EXCEL.EXE to kill microsoft excel or IEXPLORE.EXE to kill Internet
At this moment, i’m using this code:
mgmt = WIN32OLE.connect(‘winmgmts:\\.’)
mgmt.ExecQuery(“Select * from Win32_Process Where Name =
It works, but sometimes it crashes, in an inesperated way.
Thanks and i’m waiting for your help.