用DOS命令安装删除服务

安装服务
sc create Svnservice binpath= "d:\subversion\bin\svnserve.exe --service -r E:\projectversion" displayname= "Svnservice" depend= Tcpip

删除服务
sc delete Svnservice

修改配置
sc config Svnservice binpath= "d:\subversion\bin\svnserve.exe --service -r E:\projectversion" displayname= "Svnservice" depend= Tcpip


设置为自启动
sc config Svnservice start= auto

启动服务
net start Svnservice

你可能感兴趣的:(dos)