Windows command to get service status?

后端 未结 12 767
渐次进展
渐次进展 2021-02-01 04:48

I need to know the status of a service at the end of my batch script which restarts services using \"net stop thingie\" and \"net start thingie\".

In my most favorite id

12条回答
  •  孤独总比滥情好
    2021-02-01 05:14

    Well i see "Nick Kavadias" telling this:

    "according to this http://www.computerhope.com/nethlp.htm it should be NET START /LIST ..."

    If you type in Windows XP this:

    NET START /LIST
    

    you will get an error, just type instead

    NET START
    

    The /LIST is only for Windows 2000... If you fully read such web you would see the /LIST is only on Windows 2000 section.

    Hope this helps!!!

提交回复
热议问题