echo If -e is in effect, the following sequences are recognized: \ backslash a alert (BEL) b backspace c produce no further output e escape f form feed n new line r carriage return t horizontal tab v
@echo off title mysql ::从注册表找到Mysql的安装路径写入文件mysql.txt reg query HKLM\SYSTEM\ControlSet001\Services\MySQL | find /I "ImagePath"C:\mysql.txt if %errorlevel% neq 0 ( echo MySQL not found pause exit ) ::以