why? [win32com/WMI]

Tim Golden tim.golden at viacom-outdoor.co.uk
Thu Mar 2 07:56:01 EST 2006


[Sergey]

| "Tim Golden" <tim.golden at viacom-outdoor.co.uk> wrote in 
| message news:mailman.2569.1141231029.27775.python-list at python.org...
| [Sergey]
| 
| >import wmi
| >c = wmi.WMI (computer="srv", user="Admin at zzz.ru", password="****")
| >pid, retval = c.Win32_Process.Create (CommandLine="notepad.exe")
| 
| Wonderful... It works.

Also, in case you haven't, have a look at the cookbook page:

http://timgolden.me.uk/python/wmi_cookbook.html

which has several useful examples.

TJG

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



More information about the Python-list mailing list