AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Bash press any key to continue9/7/2023 The advantage of CMD /K is that you can then run the same script in 'unattended mode' without having to edit it. That will run the script and the window will remain open for any further input. Pause is often used at the end of a script to give the user time to read some output text.Īn alternative to this is to run the script using CMD /K: Pressing any key will resume the operation. "Įxecution of a batch script can also be paused by pressing CTRL-S (or the Pause|Break key) on the keyboard, this also works for pausing a single command such as a long DIR /s listing. Pause the execution of a batch file Syntaxĭisplays the message "Press any key to continue.
0 Comments
Read More
Leave a Reply. |