TYPE (DOS command)
TYPE (DOS command)
Main page
1292649

TYPE (DOS command)

logo
Community Hub0 subscribers
What are your thoughts?
Be the first to start a discussion here.
Be the first to start a discussion here.
TYPE (DOS command)

In computing, type is a command in various command-line interpreters (shells) such as COMMAND.COM, cmd.exe, 4DOS/4NT and Windows PowerShell used to display the contents of specified files on the computer terminal. The analogous Unix command is cat.

The command is available in the operating systems DEC RT-11, OS/8, RSX-11, TOPS-10, TOPS-20, VMS, Digital Research CP/M, MP/M, MetaComCo TRIPOS, Heath Company HDOS, AmigaDOS, DOS, FlexOS, TSL PC-MOS, SpartaDOS X, IBM/Toshiba 4690 OS, IBM OS/2, Microsoft Windows, ReactOS, AROS, and SymbOS.

The type command is supported by Tim Paterson's SCP 86-DOS. On MS-DOS, the command is available in versions 1 and later. DR DOS 6.0 also includes an implementation of the TYPE command.

It is also available in the open source MS-DOS emulator DOSBox and the EFI shell.

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.

The command-syntax and feature set between operating systems and command shell implementations can differ as can be seen in the following examples.

In Digital Equipment Corporation's RT-11, the command accepts up to six input file specifications. Multiple file specifications are separated with commas.

The default filetype is .LST. Wildcards are accepted in place of filenames or filetypes.

See all
User Avatar
No comments yet.