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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top