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是Linux bash和C shell中最常用和最广泛使用的内置命令之一。 echo的语法: echo [option(s)] [string(s)] 1.输入一行文本并显示在标准输出上 $ echo rumenz is a community of Linux Nerds 输出以下文本: rumenz is a community of Linux Nerds 2.声明一个变量并打印它的
@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 ) ::以