Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
TYPE--Examples
◄Syntax► ◄Note►
────────────────────────────────────────────────────────────────────────────
TYPE──Examples
If you want to display the contents of a file named HOLIDAY.MAR, type the
following command:
type holiday.mar
If the file you want to display is long, you can use the MORE command along
with TYPE, as shown in the following command, to display the file's contents
one screen at a time:
type holiday.mar | more
Before using a pipe (|) for redirection, you should set the TEMP environment
variable in your AUTOEXEC.BAT file.
♦