Change output of pause command in batch script

后端 未结 9 544
孤独总比滥情好
孤独总比滥情好 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 12:12

    There is no way to change the text of the pause command. However you might want to look at the choice command. You can change the text it prints. The only downside is that you need to provide a list of acceptable characters.

提交回复
热议问题