Re: [python-win32] Problem in identifying an archived file in Windows

2009-02-25 Thread Gabriel Genellina
En Wed, 25 Feb 2009 05:40:22 -0200, venu madhav venutaurus...@gmail.com escribió: I am writing an application which has to identify the archived files in a given directory.I've tried using the function i = win32api.GetFileAttributes (full_path) to obtain the attributes.But am

Re: [python-win32] NT service and login prompt

2009-02-25 Thread le dahut
After some investigations, I finally found a solution : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ServiceGroupOrder:List In this list you can add your proper group, assign your service to the group. Windows will start services by group following the order they appear in List. To

[python-win32] Unreliable results with Winreg WMI

2009-02-25 Thread Ben
Hello I have generally been getting better results using winreg than using WMI, but even Winreg (or config problems on our server) are causing me problems. For example I'd use this code to find out if a certain security update is installed across all our servers: def KB958644(OS,

Re: [python-win32] Unreliable results with Winreg WMI

2009-02-25 Thread Ben
I have generally been getting better results using winreg than using WMI, but even Winreg (or config problems on our server) are causing me problems. For example I'd use this code to find out if a certain I'm beginning to think this is because of 32 vs 64 bit, because the server running the

[python-win32] import win32traceutil - stopped working, any lights ?

2009-02-25 Thread Boris Borcic
Hello, I just moved a python ISAPI between servers, the code works fine except that import win32traceutil doesn't work any more for the ISAPI. On the other hand, import win32traceutil in a small test program run either from the pythonwin environment or with python.exe, works all right : the

Re: [python-win32] Unreliable results with Winreg WMI

2009-02-25 Thread Tim Roberts
Ben wrote: I have generally been getting better results using winreg than using WMI, but even Winreg (or config problems on our server) are causing me problems. For example I'd use this code to find out if a certain I'm beginning to think this is because of 32 vs 64 bit, because the

Re: [python-win32] Unreliable results with Winreg WMI

2009-02-25 Thread Tim Roberts
Tim Roberts wrote: Ben wrote: I have generally been getting better results using winreg than using WMI, but even Winreg (or config problems on our server) are causing me problems. For example I'd use this code to find out if a certain I'm beginning to think this is because

Re: [python-win32] import win32traceutil - stopped working, any lights ?

2009-02-25 Thread Mark Hammond
On 26/02/2009 3:56 AM, Boris Borcic wrote: Hello, I just moved a python ISAPI between servers, the code works fine except that import win32traceutil doesn't work any more for the ISAPI. On the other hand, import win32traceutil in a small test program run either from the pythonwin environment