创建windows服务方法
将exe程序创建windows服务
sc create TestService binpath= "c:/in estapp.exe" displayname= "TestService" depend= Tcpip start= auto
将windows服务删除
sc delete TestService
将exe程序创建windows服务
sc create TestService binpath= "c:/in estapp.exe" displayname= "TestService" depend= Tcpip start= auto
将windows服务删除
sc delete TestService