How to check the existence of a windows service in batch file

Posted by pdiddy on Stack Overflow See other posts from Stack Overflow or by pdiddy
Published on 2010-05-04T17:06:32Z Indexed on 2010/05/04 17:28 UTC
Read the original article Hit count: 403

How can I check the existence of a windows service in a batch file?

The user is inputing a service name and I want to check that the service does exist before continuing with my script.

© Stack Overflow or respective owner

Related posts about batch-file

Related posts about windows-services