Re: Check a windows service

2007-01-17 Thread awel
Thanks for all 'cause you've really helped me Just one thing in the last line for the specific service, you' ve writted : >print service but I think it is : >print service.Caption Tim Golden a écrit : > awel wrote: > > Sorry, but could you give me an example with a real service 'cause

Re: Check a windows service

2007-01-17 Thread Tim Golden
awel wrote: > Sorry, but could you give me an example with a real service 'cause I've > tried this script but nothings happened, no error, nothings ; even if I > launch it in cmd prompt. Well, as that example said, it was designed to show automatic services which are not running. If you don't have

Re: Check a windows service

2007-01-16 Thread Gabriel Genellina
At Tuesday 16/1/2007 19:19, awel wrote: Sorry, but could you give me an example with a real service 'cause I've tried this script but nothings happened, no error, nothings ; even if I launch it in cmd prompt. You have to call the EnumServices function if you want some useful output. Copy&paste

Re: Check a windows service

2007-01-16 Thread awel
Sorry, but could you give me an example with a real service 'cause I've tried this script but nothings happened, no error, nothings ; even if I launch it in cmd prompt. Thanks Chris Mellon a écrit : > On 16 Jan 2007 09:09:34 -0800, Tim Golden <[EMAIL PROTECTED]> wrote: > > awel wrote: > > > > >

Re: Check a windows service

2007-01-16 Thread awel
Sorry, but could you give me an example with a real service 'cause I've tried this script but nothings happened, no error, nothings ; even if I launch it in cmd prompt. Thanks Tim Golden a écrit : > awel wrote: > > > I'm new in python and I would like to know if it's possible to check if > > a sp

Re: Check a windows service

2007-01-16 Thread awel
Sorry, but could you give me an example with a real service 'cause I've tried this script but nothings happened, no error, nothings ; even if I launch it in cmd prompt. Thanks Tim Golden a écrit : > awel wrote: > > > I'm new in python and I would like to know if it's possible to check if > > a sp

Re: Check a windows service

2007-01-16 Thread Gabriel Genellina
"awel" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > I'm new in python and I would like to know if it's possible to check if > a specific windows service is present and if it's possible how can I > do? Yes, using the wmi module, but you'll have to search the Microsoft docume

Re: Check a windows service

2007-01-16 Thread Chris Mellon
On 16 Jan 2007 09:09:34 -0800, Tim Golden <[EMAIL PROTECTED]> wrote: > awel wrote: > > > I'm new in python and I would like to know if it's possible to check if > > a specific windows service is present and if it's possible how can I > > do? > > This is one way: > > http://tgolden.sc.sabren.com/pyt

Re: Check a windows service

2007-01-16 Thread Tim Golden
awel wrote: > I'm new in python and I would like to know if it's possible to check if > a specific windows service is present and if it's possible how can I > do? This is one way: http://tgolden.sc.sabren.com/python/wmi_cookbook.html#automatic_services You'd have to change that example slightly

Check a windows service

2007-01-16 Thread awel
Hi, I'm new in python and I would like to know if it's possible to check if a specific windows service is present and if it's possible how can I do? Thanks -- http://mail.python.org/mailman/listinfo/python-list