Re: get all services in windows?
- From: bobdyln@xxxxxxxxx (Enjoy_Life)
- Date: Sat, 7 Jul 2007 18:45:06 +0800
2007/7/6, Rob Dixon <rob.dixon@xxxxxxx>:
Enjoy_Life wrote:
>
> i want to get all the services installed by windows on my computer.
> i found Win32::Service module,
> but i don't know how to use it.
> anyone can help me?
use strict;
use warnings;
use Win32::Service qw(GetServices);
my %service;
GetServices('', \%service);
printf "%s - %s\n", $service{$_}, $_ foreach keys %service;
HTH,
Rob
thanks very much.
--
**********************************************
** Happy Everyday **
**********************************************
- References:
- get all services in windows?
- From: Enjoy_Life
- Re: get all services in windows?
- From: Rob Dixon
- get all services in windows?
- Prev by Date: read file, search for a string, write results
- Next by Date: Re: Dynamic page dsiplays in Mozialla/Firefox but not in IE
- Previous by thread: Re: get all services in windows?
- Next by thread: Can't use string ("") as an Array ref
- Index(es):