TYPE (DOS command)

Description of the TYPE command of RT-11SJ displayed on a VT100.

In computing, type is a command in various RT-11,[1] OS/8,[2] TOPS-20,[3] VMS, AmigaDOS,[4] CP/M,[5] MP/M,[6][7] DOS, FlexOS,[8] OS/2, Microsoft Windows, ReactOS, and AROS[9] 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 on the computer terminal.[10]

The command is also available in the open source MS-DOS emulator DOSBox and the EFI shell.[11]

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.

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

  1. http://paleoferrosaurus.com/beta/documents/rt11help.html#TYPE
  2. "Concise Command Language" (CCL)."OS/8 Handbook" (PDF). April 1974. Retrieved 28 November 2017.
  3. "TOPS-20 Command manual" (PDF).
  4. https://archive.org/details/1988-rugheimer-spanik-amigados-quick-reference
  5. http://www.cpm.z80.de/manuals/cpm22-m.pdf
  6. 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.
  7. 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.
  8. http://www.bitsavers.org/pdf/digitalResearch/flexos/1073-2003_FlexOS_Users_Guide_V1.3_Nov86.pdf
  9. http://aros.sourceforge.net/documentation/users/shell/index.php
  10. Microsoft TechNet Type article
  11. "EFI Shells and Scripting". Intel. Retrieved 2013-09-25.


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.