[Sergey]

| "Tim Golden" <[EMAIL PROTECTED]> wrote in 
| message news:[EMAIL PROTECTED]
| [Sergey]
| 
| >import wmi
| >c = wmi.WMI (computer="srv", user="[EMAIL PROTECTED]", 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
________________________________________________________________________
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to