Windows/DOS equivalent to Unix's "|more"?

Kadence

Senior member
Nov 18, 2004
275
0
0
Is there a way to paginate any command line output in Windows' DOS prompt, similar to "dir /p", or like piping to the 'more' command with "| more" in Unix?
 

seemingly random

Diamond Member
Oct 10, 2007
5,277
0
0
The ms command line processor has supported pipes and redirection of stdout and stderr since dos 2.0. Not all programs send all output to these, so all output might not be caught.

There is a more command. It's called more. So '| more' is supported.

Since windows 2000, the command processor 'cmd' has been enhanced quite a bit. It has a lot of capability - like a unix shell. Someone from a unix background will find the implementation a little odd though, like most ms s/w.
 

Kadence

Senior member
Nov 18, 2004
275
0
0
Thanks :) I actually tried | more in DOS but it didn't work, I guess the program I tried it with just didn't support it. I just tried it with dir and it worked as you said.
 

seemingly random

Diamond Member
Oct 10, 2007
5,277
0
0
Many programs back in dos days (v2 - v6) used bios or direct access user written video routines since dos was never suited for speedy or direct addressable display. This was a huge mindset change that ms forced with windows. Many multi-taskers/window managers (ms-windows precursors) were attempted but were never 100% successful because of this very problem.