Hi,

At Wed, 19 Oct 2005 11:16:57 +0900,
dave.burt / gmail.com wrote in [ruby-talk:161280]:
> You can write the WMI script in Ruby:
> 
> require 'win32ole'
> strComputer = "."
> objWMIService = WIN32OLE.connect \
>     ("winmgmts:\\#{strComputer}\root\cimv2")
> colProcessList = objWMIService.ExecQuery \
>     ("Select * from Win32_Process Where ProcessID = 3672")
> colProcessList.each do |objProcess|
>     objProcess.Terminate()
> end

Does it work on Win9X?

-- 
Nobu Nakada