批处理 windows服务自启动

来源:互联网 发布:工控组态软件 编辑:程序博客网 时间:2024/05/31 19:32

sc Create "test" binpath= "\"E:\test\test.exe\" --service --root displayname= "test" depend= Tcpip start= AUTO

sc config test start= AUTO
sc start test
pause
0 0
原创粉丝点击