cmd console中,或保存成bat文件执行
sc create 服务名称 binpath= 执行文件路径 type= own start= auto displayname= 服务展示名称
=后面要有空格
net stop 服务名称sc delete 服务名称