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

[Main menu] [top] (Syntax) [Options] [Comments] [Examples] [See also] [File]

Options:

  /?  Shows the help

[Main menu] [top] [Syntax] (Options) [Comments] [Examples] [See also] [File]

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.

[Main menu] [top] [Syntax] [Options] (Comments) [Examples] [See also] [File]

Examples:

  type C:\autoexec.bat
  type | more C:\autoexec.bat
  type | more C:\config.sys
  type | more C:\example\test.txt

[Main menu] [top] [Syntax] [Options] [Comments] (Examples) [See also] [File]

See also:

  more
  sort

[Main menu] [top] [Syntax] [Options] [Comments] [Examples] (See also) [File]

File:

  Please read this command's lsm file also.
  You will find the updated version (internet) here and
  the version described in this manual page here.
  The lsm file contains information about the name of the programmer,
  the download site, and some other command related information.

[Main menu] [top] [Syntax] [Options] [Comments] [Examples] [See also] (File)


  Copyright © 1998 Jim Hall, updated 2007 by W. Spiegl.

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