sc.exe create XCGWebApp BinPath=E:\SitePublish\XCGWebApp\XCGWebApp.exe
## 启动服务
sc.exe start XCGWebApp
## 停止服务
sc.exe stop XCGWebApp
## 删除服务
sc.exe delete XCGWebApp
## 添加服务描述
sc description XCGWebApp "XCG"
## 改变服务的启动方式 手动/自动/禁用
sc.exe config XCGWebApp start= demand/auto/disabled