Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I print the content of a textfile on the command prompt in Windows?

In Linux I can do this with less textfile.txt, more textfile.txt or cat textfile.txt

What is the command for this in Windows?

share|improve this question
add comment

1 Answer

up vote 11 down vote accepted

type textfile.txt If you want it page-by-page, more textfile.txt.

share|improve this answer
4  
Or just more textfile.txt ... avoids a useless use of type –  Јοеу Jul 13 '10 at 1:06
    
@Joey: Point taken. –  Hello71 Jul 20 '11 at 19:43
    
That was one hell of a lag ;) –  Јοеу Jul 20 '11 at 21:15
    
@Joey: Just a year or so. About 31,536,000,000 ms latency. –  Hello71 Jul 20 '11 at 21:32
add comment

Your Answer

 
discard

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.