启动:
@echo.服务启动......
@echo off
@sc create Service_SMS binPath= "D:公司制度等文件项目河北劳动力市场检测系统WindowsService2inDebugWindowsService2.exe"
@net start Service_SMS
@sc config Service_SMS start= AUTO
@echo off
@echo.启动完毕!
@pause
停止:
@echo.服务关闭
@echo off
@net stop Service_SMS
@echo off
@echo.关闭结束!
@pause
删除:
@echo.服务删除
@echo off
@sc delete Service_SMS
@echo off
@echo.删除结束!
@pause