我的剧本:
PATH
echo done
pause
输出(缺少此论坛消耗的初始空白行):
S:\TLIB admin\Sets' extra tracks finder>PATH
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\EaseUS\Todo Backup\bin\
S:\TLIB admin\Sets' extra tracks finder>echo done
done
S:\TLIB admin\Sets' extra tracks finder>pause
Press any key to continue . . .
答案 0 :(得分:2)
使用@
前缀来阻止命令显示自身,如下所示:
@echo hello
@echo there
@pause
或者您也可以像这样首先关闭回声:
@echo off
echo hello
echo there
pause