Command: type

  TYPE displays the contents of text files.

Syntax:

  TYPE [drive][path]filename
  TYPE [/?]
       drive     Specifies the drive letter to where the file is,
                 e.g. C:
       path      Specifies the path to where the file is,
                 e.g. \example\
       filename  Specifies the file to display, e.g. test.txt

Options:

  /?  Shows the help.

Comments:

  Type shows the complete text. If the text is too long, it
  stops at the end. You can break this by using:
  type | more xy.txt
  TYPE is a command internal to command.com and needs no other file
  in order to work.

Examples:

  type C:\autoexec.bat              (shows the text)
  type | more C:\autoexec.bat
  type | more C:\config.sys
  type | more C:\example\test.txt

See also:

  command.com/freecom
  dir
  echo
  foxtype
  more
  pg (pager)
  sort

  Copyright © 2004 Robert Platt, updated 2007 and 2022 by W. Spiegl.

  This file is derived from the FreeDOS Spec Command HOWTO.
  See the file H2Cpying for copying conditions.