" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#008000" VLINK="004000" ALINK="#00C000">
TYPE COMMAND
Purpose: Displays the contents of the specified file(s) on the screen.
Syntax: TYPE [/M[ORE]] [/U[NWRAP]] [/B[IN]] FILELIST
Type: Internal command
Description:
The displayed information is not formatted, except for tabs.
/B - displays a file as a dump,
/U - prevents wordwrap at the screen board.
/M - displays data one screen at a time.
FILELIST ::= [parms]
{
[d:][path]file_name[.ext] |
(FILELIST[,|+| ]...) |
@reference_file
}
FILELIST - defines the files to be typed.
file_name - may contain wild card symbols ("?" and "*").
reference_file - is the name of a text file containing the command's
parameters. It should be specified explicitly.
parms - are any combination of the control parameters for
FILELIST or DIRLIST (see INTERNAL DOS COMMAND ARGUMENTS
for detailed description).
Notes:
1. To print the displayed file use the redirection of the standard output
printing device.
2. Printing is completed once the EOF symbol (ASCII 26) has been read from
the input file; this doesn't apply for the binary dump mode (/BIN
switch).
Examples:
1. A>type /b mess
displays the MESS file's contents in binary form
-------- Contents of MESS
00000000: 48 65 6C 6C 6F 20 57 6F 72 6C 64 21 0D 0A 1A Hello World!...
The first line contains the filename, while all the others contain
information from the file in the following format: hexadecimal displacement
relative to the beginning of the file; hexadecimal values of the 16 bytes;
the same bytes but represented as ASCII symbols (symbols lying outside the
32-127 range are substituted with dots).