How to put the result of a Windows command-line in a variable?

前端 未结 0 1494
南方客
南方客 2021-01-04 02:46

I need to know if a specific service is running from windows command-line, then get the result in a DOS variable.

I have tried the following, but this does not work :

相关标签:
回答
  • 消灭零回复
提交回复
热议问题