TYPE (DOS command)

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

In computing, type is a command in various RT-11, VMS, AmigaDOS, CP/M, DOS, OS/2 and Microsoft Windows command line interpreters (shells) such as COMMAND.COM, cmd.exe, 4DOS/4NT and Windows PowerShell. It is used to display the contents of specified files.

The analogous Unix command is cat. In Windows PowerShell, type is a predefined command alias for the Get-Content Cmdlet which basically serves the same purpose. TYPE originated as an internal command in 86-DOS.

See also