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