[python-win32] rename computer

2011-12-19 Thread cd
hello I didn't find any example of howto rename a windows computer with python ? i've tried with wmi unsuccessfully thanks for any halps Christophe ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/pyth

Re: [python-win32] rename computer

2011-12-19 Thread cd
thanks it works but I prefere to use a builtin" system call or somethings like this, in order to avoid invalid hostname. I hope wmi can valid hostname for me > Message du 19/12/11 14:31 > De : "Scott Leerssen" > A : "cd" > Copie à : > Ob

Re: [python-win32] rename computer

2011-12-19 Thread cd
hon-win32@python.org > Copie à : > Objet : Re: [python-win32] rename computer > > On 19/12/2011 11:57, cd wrote: > > hello > > I didn't find any example of howto rename a windows computer with python ? > >

Re: [python-win32] rename computer

2011-12-19 Thread cd
thanks genius it works !! > Message du 19/12/11 15:34 > De : "Tim Golden" > A : python-win32@python.org > Copie à : > Objet : Re: [python-win32] rename computer > > On 19/12/2011 14:20, cd wrote: > > import wmi > > c = wmi.WMI().Win32_C