用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

posted @ 2010-12-24 13:42  海潮的博客  阅读(221)  评论(0编辑  收藏  举报