新建服务命令

    xiaoxiao2022-06-23  22

    新建服务命令

    sc create  WinUpReportInfoService binPath= "F:\WinServiceForUpReport.exe TYPE= "own" start= "auto" TAG= "no" DisplayName= "WinUpReportInfoService" 

    SC description WinUpReportInfoService 服务描述

    pause

    删除服务命令

    sc stop WinUpReportInfoService sc delete WinUpReportInfoService pause

    启动服务命令并设置为自动

    net start WinUpReportInfoService sc config WinUpReportInfoService start= auto pause

    转载请注明原文地址: https://ju.6miu.com/read-1123104.html

    最新回复(0)