Mysql服务启动脚本制作(win)
@ECHO OFF for /f "skip=3 tokens=4" %%i in ('sc query MySQL') do set "zt=%%i" &goto :next :next if /i "%zt%"=="RUNNING" ( ECHO Stoping MySQLService, please wait ...