Special Features in DOS
 
Displaying the contents of a file
 
The TYPE command enables us to display the contents of a file on our screen.
 
NOTE:
There are some files, for example, operating system commands or applications software, which we may not be able to read because they contain non-alphabetic and non-numeric characters.
 
This command:
TYPE APRIL.DOC {ENTER}
Displays the contents of the file APRIL.DOC.
 
If we want to display a long file, we can use the MORE command to display information one screenfull at a time.
For example:
TYPE APRIL.DOC | MORE {ENTER}
 
Type pauses and displays the prompt --- More --- at the bottom of the screen, to view more, press any key.
 
NOTE:
The pipe ( | ) switch can usually be found by holding down the SHIFT key and pressing the backslash ( \ ) key.