I have not done a good job for the past few times. Today I have made some time to solve this problem, and the results have been completed in a short time. I will repost it and show it to you:
SC create svnservice binpath = "C:/program files/subversion/bin/svnserve.exe -- service-R D:/mysvn" displayname = "svnservice" depend = TCPIP start = auto
Binpath specifies the svnserve path and command.
Note that the parameters are -- service, not -- daemon.-D,-I,-T, and other parameters cannot be used. Start = auto indicates that the service is automatically started.
FeatureDo not note that there must be no space on the left of the equal sign, but a space on the right.
I have not explained this.
If you want to add the Host Name of the listener in win7, otherwise the service is created successfully and the port telnet is successful, the client cannot be connected.
SC create svnservice binpath = "C:/program files/sliksvn/bin/svnserve.exe -- service-R D: /Java/SVN -- listen-host 127.0.0.1 "displayname =" svnservice "depend = TCPIP start = auto