Create a new Windows service on windows server2012

netsh http add iplisten ipaddress=0.0.0.0:15901

sc.exe create "FPPService" binPath= "D:\apps\apps_srv\FPP\FPPService.exe" displayname= "FPPService" depend= tcpip start= auto

posted @ 2015-03-12 14:42  霸气庚心  阅读(193)  评论(0编辑  收藏  举报