TYPE (DOS command)
In computing, 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.
≈ 2 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
In computing, 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 .
Implementations
displayed on a VT100.]] 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 command. It is also available in the open source MS-DOS emulator DOSBox and the EFI shell.
In Windows PowerShell, is a predefined command alias for the Cmdlet which basically serves the same purpose. 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. Note: ufn = unambiguous file reference In MP/M, the command has a pause mode.
It is specified by entering a 'P' followed by two decimal digits after the filename. The specified number of lines will be displayed and then the command will pause until a carriage return is entered. A>TYPE FILE.PLM A>TYPE B:X.PRN 0A>TYPE CODE.ASM P23 [A:\].TYPE FILE.BIN /h C:\>type "my report.txt" C:\>type *.txt
See also
List of DOS commands List of Unix commands
External links
type | Microsoft Docs
Text derived from https://en.wikipedia.org/w/index.php?oldid=1369519344 under CC BY-SA 4.0; modifications have been made.