delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/04/08:11:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Listing services
Date: Fri, 4 Mar 2005 13:10:27 -0000
MIME-Version: 1.0
In-Reply-To: <200503041150.14903.colin@breame.net>
Message-ID: <SERRANOwBugxbK0lwdq00000081@SERRANO.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 04 Mar 2005 13:10:26.0702 (UTC) FILETIME=[88436AE0:01C520BB]

----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 AT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019