nginx重启脚本 叶知秋水 2018-04-03 356 阅读1分钟 @echo off if "%1" == "h" goto begin mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&exit :begin taskkill /F /IM nginx.exe cd D:\software\nginx-1.10.1 D: nginx.exe 比较喜欢的一段代码~,双击重启nginx~ 放到txt里,保存成bat文件