创建
>sc create TestService binPath= "D:\EngineService\TestService.exe" start= auto[SC] CreateService 成功>net start TestService
注意:binPath= 后面有一个空格
删除
>sc delete TestService