Display the contents of a file in DOS or Windows Console
Displaying the contents of a file in DOS or in Windows Console by TYPE command:
TYPE file.txt
Displaying one screen at a time
If the contents of a file are larger than one screen, then the screen output may be paused each time to show one screen at a time, using MORE command:
TYPE file.txt | MORE
- Pressing the space key each time will display another screen of information, until all the input data has been read.
- Pressing Enter - next line.
- Pressing Q to quit.
Links
- TYPE ss64.com/nt/type.html
- MORE ss64.com/nt/more.html
Operating systems
- DOS
- Windows