参考:
https://www.cnblogs.com/youshilife/p/15227208.html
https://www.cnblogs.com/anz130/p/6609933.html
https://jingyan.baidu.com/article/4b07be3c907e6f48b280f36d.html
:@echo off :if "%1" == "h" goto begin : mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit :begin cd nginx-1.21.0 @REM 关闭nginx nginx.exe -s stop @REM 强力删除 taskkill /F /IM nginx.exe > nul @REM 延时1秒 TIMEOUT /T 1 @REM 重新配置文件 nginx.exe -s reload @REM 重启nginx nginx.exe -s stop start nginx
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)