创建
sc create mySers binpath= E:\SetMail\Xxt\Wservices\bin\Debug\Ws.exe
sc config mySers start= auto
sc start mySers
删除
sc delete "服务名" (如果服务名中间有空格,就需要前后加引号)