所以我想在两个echo字符串之间放一个命令,这样当另一个出现时,它会在顶行,第一个echo文本消失。
这样的事情:
echo Stuff that gets deleted when the second print comes
choice /C X /T 3 /D X > nul
deletepreviousecho
echo New Words.
答案 0 :(得分:1)
您可以使用cls:
echo Stuff that gets deleted when the second print comes
pause
cls
echo New Words.
哦,暂停打印“按任意键继续......”如果您不想使用:
pause>nul