How to write a batch file to check if a net service is running, and if it is stop it, when i stop it i should restart it

前端 未结 0 629
无人共我
无人共我 2021-02-04 21:25

What i want to present is:

  1. check if the service is running,
  2. if it is then start it
  3. If the process is not stopped by the first string you should no
相关标签:
回答
  • 消灭零回复
提交回复
热议问题