Echo 按字面意思输出所有内容
引号将按原样输出:
echo "Some Text"
"Some Text"
评论标记被忽略:
echo Hello World REM this is not a comment because it is being echoed!
Hello World REM this is not a comment because it is being echoed!
但是,echo
仍将输出变量 - 请参阅变量用法 - 特殊字符仍然生效:
echo hello && echo world
hello world