参考网站:https://technet.microsoft.com/en-us/library/bb490995.aspx 备注:网站内容是翻译得来,源网站在上面 SC 与服务控制器和已安装的服务进行通信.exe检索和设置关于服务的控制信息.您可以使用sc.exe来测试和调试服务程序.存储在注册表中的服务属性可以设置为控制如何在启动时启动服务应用程序,并作为后台进程运行.exe参数可以配置特定的服务,检索服务的当前状态,以及停止和启动服务.您可以创建调用各种sc.exe命令的批处理文件,以自动…