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...".
pause
Another dirty solution would be something like this,
SET /P =Press enter to return to the menu . . . GOTO :menu
The benefit of this is that the cursor stays on the same line as the message, just like with the PAUSE command.
PAUSE
The downside is that it only listens to the enter key.