Command Prompt for Windows

Command TYPE


Displays the contents of a text file.


TYPE [drive:][path]filename [/L] [/tabstop]
/LDisplay line numbers.
/tabstopNumber between 1 to 8 inclusive. Specifies the number of space characters to use to expand tabstop characters.


The default number of space characters used to expand tabstop characters is 8.

A file can contains ANSI escape sequences, see ANSI Graphics.

Also see command DUMP.