Listing services
Dave Korn
dave.korn@artimi.com
Fri Mar 4 14:01:00 GMT 2005
----Original Message----
>From: Colin JN Breame
>Sent: 04 March 2005 11:50
> Hello,
>
> Anyone know how to list the names and descriptions of all the services on
> the system?
I dunno how to do it in a cygwin fashion, so this is OT, but you can use
the 'doze command line utility "sc":
------------------<snip!>------------------
dk@mace /win/c/downloads2/suspect-viri> sc /?
*** Unrecognized Command ***
DESCRIPTION:
SC is a command line program used for communicating with the
NT Service Controller and services.
USAGE:
sc <server> [command] [service name] <option1> <option2>...
The option <server> has the form "\\ServerName"
Further help on commands can be obtained by typing: "sc [command]"
Commands:
query-----------Queries the status for a service, or
enumerates the status for types of services.
------------------<snip!>------------------
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list