On 19/12/2011 14:32, Tim Golden wrote:
<code>
import wmi

c = wmi.WMI ()
for system in c.Win32_ComputerSystem ():
system.Rename ("NEW-NAME", "TIM", "PASSWORD")

</code>

For the record, the OP reported in private email
that this solution works for him.

TJG
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to