APINGMACRO
has a /P
option to page
output. This option supports two suboptions:
/P:
time,
lines
time | time in seconds, or (with a trailing M ) milliseconds |
lines | number of lines to display before pausing |
Both time and lines are optional. The colon is not required, but you must use the comma if you want to specify lines.
rem Scroll every five seconds:
fileinfo /p:5
rem Display ten lines at a time:
fileinfo /p:,10
rem Display twenty lines at a time, and
rem scroll every 2.5 seconds:
fileinfo /p:2500m,20
At the “Press a key to continue” prompt, most keys will advance by another screenful (or lines). But a few keys behave differently:
A or C | turns off paging, and scrolls continuously |
Esc or Ctrl-C | aborts the current command |
/ | scrolls half a screen, or half of lines |
1 to 9 | scrolls that many lines, e.g. 3 scrolls three lines |