title: How to setup "svnserve --service" to run on Windows?
body: <p>When starting from cmdline </p>
  
  <pre><code>svnserve.exe -d -r d:\svn\mytools
  </code></pre>
  
  <p>all working fine.</p>
  
  <p>Then I had tried to set it up to run as Windows service:</p>
  
  <pre><code>@echo off
  set SvnHome=C:\Program Files\TortoiseSVN
  set SvnRepository=D:\Svn\mytools
  sc delete SvnMyTools
  sc create SvnMyTools binPath= "%SvnHome%\bin\svnserve.exe --service -r %SvnRepository%" start=   delayed-auto type= share
  </code></pre>
  
  <p>service was installed but it is unable to start.
  All the time it is reporting an error</p>
  
  <pre><code>Error 1083: The executable program that this service is configured to run in does not implement the service.
  </code></pre>
  
  <p>I have tried to edit service cmdline using regedit, so tried to add double quotes arround ref to exe, tried to change cmdline parameters (used <em>-d</em> instead of <em>--service</em>, used both <em>-d</em> and <em>--service</em>) and so on. Sometimes reported errors are looks a bit different but it does not work anyway. :-(</p>
  
  <p>Question is - how to setup it to make it working as service on Windows 7 x64?
  Is it possible at all? I mean - if that "--service" cmdline switch is able to work in svnserve?</p>
  
  <p>Note: svnserve version is 1.7.9 (r1462340).
  Rest of TortoiseSVN components are 1.7.12.24070.</p>
  
  <p>Thanks in advance.</p>