sc命令
sc actionName serviceName
sc start serviceName
sc stop serviceName
sc delete serviceName : 删除注册的服务
sc create serviceName binpath start= auto depend= Tcpip
例子:
C:\Windows\system32>sc create MySVNService binpath= "D:\DevInstall\SVNSubVe
\bin\svnserve.exe --service -r E:\SVNRepository" start= auto depend= Tcpip
时间: 2024-10-12 13:32:46