TYPE+Displaying the File Type

Displays a file's contents on the screen.

VERSION

PC-DOS: all

MS-DOS equivalent: TYPE (all)

TYPE

Internal

SYNTAX

TYPE [d:][path]filename

OPTIONS

[d:][path]filename Specifies the name and

location of the file whose

contents are to be displayed.

The TYPE command is used to view the contents of a file.

EXAMPLE

TYPE NOVRPT.TXT

displays the contents of the file NOVRPT.TXT on the screen.

NOTE

The TYPE command continuously scrolls the file on the screen

if it is longer than one screenful. To freeze the text on the

screen, press Ctrl-Num Lock. To stop the TYPE command from

presenting more of the file's contents on the screen, press Ctrl-

C. Data will be unformatted except for standard paragraph indents

and eight-character tabs. If you use the TYPE command to view

binary files, program files, or files that contain control codes,

their contents may be meaningless on the screen. A file that is

in ASCII format is readable on the screen when the TYPE command

is used.

------------------------------------------------------------------

[For related topics, press R]

SEE ALSO

ATTRIB Command

CHKDSK Command

COPY Command

DEL (DELETE) and ERASE Commands

DIR Command

Displaying of Text with Batch Files

PRINT Command

RENAME EN) Command

REPLACE Command

SHARE Command

VERIFY Command

XCOPY Command