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
More
- Copy the contents of one file to another (Windows Command Prompt)
- Count the number of lines in a file in Windows Command Prompt
- Create an empty file from command line (Windows)
- Create an empty file in DOS
- Get OS name in Windows Command Prompt
- Opening multiple Notepad instances with specific files in Windows
- Sorting the contents of a file alphabetically (Windows Command Prompt)