sc.exe create testservice binPath= "C:\test.exe -k runservice" DisplayName= "testservice"
sc.exe delete testservice

Leave a Reply