How to check the status of a service using a command line

  • Thread starter Thread starter addbad
  • Start date Start date
A

addbad

I am trying to write a program that will check to see if
the service is running. If it is not, then start it.

So....How to check the status....any information would be
helpful
 
From a command prompt;
net start

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
|I am trying to write a program that will check to see if
| the service is running. If it is not, then start it.
|
| So....How to check the status....any information would be
| helpful
 
Back
Top