How do I determine via Windows command line whether ALBD service is running?

前端 未结 2 1520
面向向阳花
面向向阳花 2021-01-22 07:39

OK, I know how to start and stop ALBD, but how do I determine whether it is currently running? This is something I want to put in a Perl or DOS script, so it would have to be a

2条回答
  •  旧时难觅i
    2021-01-22 08:26

    Albd is running as a normal windows service. To check if it is already started:

    net start | find "Atria Location Broker"
    

    To start the service

    net start Albd
    

    To stop the service

    net start Albd
    

    See also this answer.

提交回复
热议问题