Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the Windows command-line command that is equivalent of Unix More? I want to view some flat files under Windows' CMD prompt.

share|improve this question

migrated from Aug 26 '10 at 2:31

This question came from our site for professional and enthusiast programmers.

Wow! I didn't think there were still MS-DOS users out there... – a_horse_with_no_name Aug 25 '10 at 22:05
That's not MS-DOS. – Hello71 Aug 26 '10 at 2:32
up vote 4 down vote accepted

It's been a while, but I think I used to do type foo.txt | more

share|improve this answer
If you are using cmd.exe try typing "more /?" for options ... you can include filenames there too – Dr. belisarius Aug 25 '10 at 22:02
If you do that, the system will make a copy (and you are probably using floppy disks, so it will cost you if it works at all). Use more < foo.txt – Randolf Richardson Aug 25 '10 at 22:09
@user26312: Since when? – Hello71 Aug 26 '10 at 2:53
@user26312: Since the question is not about MS-DOS but in fact Windows' cmd prompt, the file is not likely on a floppy disk. – Torben Gundtofte-Bruun Aug 26 '10 at 6:45

Even better: more < foo.txt

share|improve this answer
Even better: more foo.txt – Dennis Williamson Aug 29 '10 at 23:57

Less is available for Windows CMD.EXE (as well as Linux, FreeBSD, OS X, actual MS-DOS and others). It's much better than the default more.

For example more won't let you move back toward the beginning of a file; less will. (Some Linux and other versions of more have this and other features, though.)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.