分享Win7 将svn增加系统服务并成功启动的方法

依照网上搜索到的方法,结果一直提示:

[SC] StartService 失败 1053:
服务没有及时响应启动或控制请求。



版本号信息

D:Program Files (x86)Subversionin>svnserve --version
svnserve,版本号 1.8.9 (r1591380)
   编译于 May  7 2014。11:00:25 在 x86-microsoft-windows

Copyright (C) 2014 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/

下列版本号库后端(FS) 模块可用:

* fs_fs : 模块与文本文件(FSFS)版本号库一起工作。
* fs_base : 模块仅仅能操作BDB版本号库。

Cyrus SASL 认证可用。



不断的搜索,却发现每一条帖子都是那样写,可是那样写根本就是错误的!最后自己測试出来真正的启动写法(by coconets#163.com)。

正确命令

sc stop svnserve
sc delete svnserve
sc create svnserve binPath= ""D:/Program Files (x86)/Subversion/bin/svnserve.exe" --service -r e:\SVN" DisplayName= "SVN Service" depend= tcpip start= auto




【推广】 免费学中医,健康全家人
原文地址:https://www.cnblogs.com/zhchoutai/p/8572301.html