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.
Implementations
The command is available in the operating systems RT-11,[1] OS/8,[2] TOPS-10,[3] TOPS-20,[4] VMS, CP/M,[5] MP/M,[6][7] TRIPOS,[8] AmigaDOS,[9] DOS, FlexOS,[10] SpartaDOS X,[11] 4690 OS,[12] OS/2, Microsoft Windows,[13] ReactOS, AROS,[14] and SymbOS.[15]
It is also available in the open source MS-DOS emulator DOSBox and the EFI shell.[16]
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.
Usage
Microsoft Windows
The command-syntax is:
type [Drive:][Path]FileName
[Drive:][Path]FileName
- This parameter specifies the location and name of the file or files to view. Multiple file names need to be separated with spaces.
/?
- This parameter displays help for the command.
See also
References
- ^ http://paleoferrosaurus.com/beta/documents/rt11help.html#TYPE
- ^ "Concise Command Language" (CCL)."OS/8 Handbook" (PDF). April 1974. Retrieved 28 November 2017.
- ^ TOPS-10 Operating System Commands Manual (pdf). Digital Equipment Corporation. August 1980. Retrieved 2019-02-17.
- ^ "TOPS-20 Command manual" (PDF).
- ^ http://www.cpm.z80.de/manuals/cpm22-m.pdf
- ^ Digital Research (July 1981) [1979]. MP/M - Multi-Programming Monitor Control Program - User's Guide (PDF) (4 ed.). Pacific Grove, CA, USA: Digital Research. Archived (PDF) from the original on 2017-01-04. Retrieved 2017-01-04.
- ^ Digital Research (1981-09-25). MP/M-86 Operating System - User's Guide (PDF) (1 ed.). Pacific Grove, CA, USA: Digital Research. Archived (PDF) from the original on 2017-01-04. Retrieved 2017-01-04.
- ^ https://www.pagetable.com/docs/amigados_tripos/tripos_manuals.pdf
- ^ https://archive.org/details/1988-rugheimer-spanik-amigados-quick-reference
- ^ http://www.bitsavers.org/pdf/digitalResearch/flexos/1073-2003_FlexOS_Users_Guide_V1.3_Nov86.pdf
- ^ SpartaDOS X 4.48 User Guide
- ^ https://archive.org/details/4690OSV6r2UsersGuide/page/n169
- ^ Microsoft TechNet Type article
- ^ http://aros.sourceforge.net/documentation/users/shell/index.php
- ^ http://www.symbos.de/appinfo.htm?00025
- ^ "EFI Shells and Scripting". Intel. Retrieved 2013-09-25.