Arrow keys trigger "pause" twice in Windows batch files

Viewed 1199

try this in an otherwise empty .bat file:

@echo off
echo Try space and arrow-down
pause
echo 1
pause
echo 2
pause
echo 3
pause
echo 4
pause
echo 5

Why does any of the arrow keys trigger two consecutive pauses, while a space or a letter only triggers one?

Thanks! bers

2 Answers
Related