CMD安装/删除服务

服务安装 
sc create "ddd" binpath= "D:winserviceXXXXXX.exe"
服务删除
sc delete "ddd"
原文地址:https://www.cnblogs.com/mahatmasmile/p/5857153.html