bat脚本:
@echo off color 3 echo "start nginx..." ping -n 3 127.0.0.1>nul cd /d d:nginx ginx-1.16.1 start nginx.exe echo "start nginx SUCCESS" ping -n 3 127.0.0.1>nul exit