• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Prompting for Input

If your batch file has to print a message you definitely don't want the users to miss, use the pause statement to make the batch file sit and wait until they've read the message and acknowledged it. Here's an example:

echo The blatfizz command failed. This means that the world as 
echo we know it is about to end, or, that the input file needs to
echo be corrected.
pause
exit /b


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint