windows开机启动nginx
bat脚本:
@echo off color 3 echo "start nginx..." ping -n 3 127.0.0.1>nul cd /d d:nginx\nginx-1.16.1 start nginx.exe echo "start nginx SUCCESS" ping -n 3 127.0.0.1>nul exit
bat脚本:
@echo off color 3 echo "start nginx..." ping -n 3 127.0.0.1>nul cd /d d:nginx\nginx-1.16.1 start nginx.exe echo "start nginx SUCCESS" ping -n 3 127.0.0.1>nul exit