Installing Windows Services

While this posting represents a slight digression from my usual comments, I feel the need to record this for future reference…

During work today I found myself needing to add my SVN server as a new Windows Service. Many a time have I hunted around for the method of doing this and, many a time, have I failed.

Today, we have the answer (for Windows XP at least):


sc create svn binpath= "\"C:\Program Files\svn\bin\svnserve.exe\" --service --root \"C:\Documents and Settings\Subversion Repository\""

5:02 am, March 11, 2008