#添加
sc create NginxbinPath= "D:\nginx\nginx.exe -g \"daemon off;\"" DisplayName= "Nginx" start= auto
#删除
sc delete Nginx
#添加
sc create NginxbinPath= "D:\nginx\nginx.exe -g \"daemon off;\"" DisplayName= "Nginx" start= auto
#删除
sc delete Nginx