TYPE


Type: Internal (1.0 and later)

Syntax:

TYPE [d:][path]filename

Purpose: Displays the contents of a file.

Discussion

When you use the TYPE command, the file is displayed with limited on-screen formatting. Tabs are expanded and generally displayed as eight spaces wide. If you display files that contain special (non-text) characters, these characters may have unpredictable effects on your display.
Wild card characters (? and *) cannot be used with this command in either the filename or the extension.

For more information on using the TIME command, refer to Chapter 2, Using Common DOS Commands.

Example

To display the contents of the file LETTER3.TXT on drive B, enter

type b:letter3.txt


Back to the Easy DOS Command Index