Multiple choice technology programming languages

Which of this command is used for prompting the user to press any key to continue in batch files?

  1. prompt

  2. pause

  3. ask

  4. enter

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The 'pause' command displays the message 'Press any key to continue...' and waits for user input. 'Prompt' changes the command prompt appearance, while 'ask' and 'enter' are not valid batch commands for this purpose.