Built with Grav - The Modern Flat File CMS
SC CONFIG YourServiceName binPath= "C:\SomeDirectory\YourFile.EXE" NET STOP YourServiceName NET START YourServiceName HKLM\SYSTEM\CurrentControlSet\Services\Service_Name
From here