Change output of pause command in batch script

后端 未结 9 515
孤独总比滥情好
孤独总比滥情好 2020-12-24 11:14

I\'m writing a Windows batch script. By default, the pause command will pause the script and display the text "Press any key to continue...".

9条回答
  •  無奈伤痛
    2020-12-24 11:53

    Already many solutions. Another variation that makes some sense:

    echo Hit any key to continue...&pause>nul
    

提交回复
热议问题