想问一个比较菜的问题。
两个文件
a.bat
echo this is a test string
执行效果
C:\documents and setting\administrator>a
C:\documents and setting\administrator>echo this is a test string
this is a test string
b.bat
@echo this is a test string
执行效果
C:\documents and setting\administrator>b
this is a test string
C:\documents and setting\administrator>
执行效果不一样,并不仅仅是b中隐藏当前命令回显。a在当前提示符中没有输出,而是结束后在另外的提示符下才有输出,而b则直接在当前提示符下产生输出。
可能这个问题没有多大意义,但是自己想弄清楚。谢谢指点