添加service 和删除service

Install Service

sc create NCS.QMS.1QTicketPrinting.SG binpath= "D:\NCS\1Q_SG\ReportService\NCS.QMS.Reports.AppHost.exe" displayname= "NCS.QMS.1QTicketPrinting.SG" start= auto

sc description NCS.QMS.1QTicketPrinting.SG "Report printing service for 1Queue"

Pause

 

Uninstall Service

sc delete NCS.QMS.1QTicketPrinting.SG

Pause

你可能感兴趣的:(service)