check if a service is running and if yes then run batch code

SC queryex easy | FIND "STATE" | FIND /v "RUNNING" > NUL && ( ECHO easy is NOT running ) || ( ECHO easy is running dos code here )

Commentaires

Posts les plus consultés de ce blog

Decode/render HTML from a field in crm dynamics

retrieve more than 5 K record

CRM Dynamics : Improve Form with Tab Menu