J u m p t o c o n t e n t
M a i n m e n u
M a i n m e n u
N a v i g a t i o n
● M a i n p a g e
● C o n t e n t s
● C u r r e n t e v e n t s
● R a n d o m a r t i c l e
● A b o u t W i k i p e d i a
● C o n t a c t u s
● D o n a t e
C o n t r i b u t e
● H e l p
● L e a r n t o e d i t
● C o m m u n i t y p o r t a l
● R e c e n t c h a n g e s
● U p l o a d f i l e
S e a r c h
Search
A p p e a r a n c e
● C r e a t e a c c o u n t
● L o g i n
P e r s o n a l t o o l s
● C r e a t e a c c o u n t
● L o g i n
P a g e s f o r l o g g e d o u t e d i t o r s l e a r n m o r e
● C o n t r i b u t i o n s
● T a l k
( T o p )
1
I m p l e m e n t a t i o n s
T o g g l e I m p l e m e n t a t i o n s s u b s e c t i o n
1 . 1
D E C R T - 1 1
1 . 1 . 1
S y n t a x
1 . 1 . 2
E x a m p l e s
1 . 2
D R C P / M , M P / M , F l e x O S
1 . 2 . 1
S y n t a x
1 . 2 . 2
E x a m p l e s
1 . 3
T S L P C - M O S
1 . 3 . 1
S y n t a x
1 . 3 . 2
E x a m p l e s
1 . 4
M i c r o s o f t W i n d o w s , O S / 2 , R e a c t O S
1 . 4 . 1
S y n t a x
1 . 4 . 2
E x a m p l e s
2
S e e a l s o
3
R e f e r e n c e s
4
F u r t h e r r e a d i n g
5
E x t e r n a l l i n k s
T o g g l e t h e t a b l e o f c o n t e n t s
T Y P E ( D O S c o m m a n d )
3 l a n g u a g e s
● ا ل ع ر ب ي ة
● 한 국 어
● P o l s k i
E d i t l i n k s
● A r t i c l e
● T a l k
E n g l i s h
● R e a d
● E d i t
● V i e w h i s t o r y
T o o l s
T o o l s
A c t i o n s
● R e a d
● E d i t
● V i e w h i s t o r y
G e n e r a l
● W h a t l i n k s h e r e
● R e l a t e d c h a n g e s
● U p l o a d f i l e
● S p e c i a l p a g e s
● P e r m a n e n t l i n k
● P a g e i n f o r m a t i o n
● C i t e t h i s p a g e
● G e t s h o r t e n e d U R L
● D o w n l o a d Q R c o d e
● W i k i d a t a i t e m
P r i n t / e x p o r t
● D o w n l o a d a s P D F
● P r i n t a b l e v e r s i o n
A p p e a r a n c e
F r o m W i k i p e d i a , t h e f r e e e n c y c l o p e d i a
For the Unix command that looks up command names, see
type (Unix) .
type
Developer(s ) Various open-source and commercial developers Operating system RT-11 , OS/8 , RSX-11 , TOPS-10 , TOPS-20 , VMS , CP/M , MP/M , CDOS , TRIPOS , HDOS , AmigaDOS , DOS , MSX-DOS , FlexOS , PC-MOS , SpartaDOS X , 4690 OS , OS/2 , Windows , AROS , ReactOS , SymbOS Platform Cross-platform Type Command License PC-MOS: GPLv3 AROS: AROS Public ReactOS: GPLv2
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
[ edit ]
Description of the TYPE command of RT-11SJ displayed on a VT100 .
The command is available in the operating systems DEC RT-11 ,[1] OS/8 ,[2] RSX-11 ,[3] TOPS-10 ,[4] TOPS-20 ,[5] VMS , Digital Research CP/M ,[6] MP/M ,[7] [8] MetaComCo TRIPOS ,[9] Heath Company HDOS ,[10] AmigaDOS ,[11] DOS , FlexOS ,[12] TSL PC-MOS ,[13] SpartaDOS X ,[14] IBM /Toshiba 4690 OS ,[15] IBM OS/2 , Microsoft Windows ,[16] ReactOS ,[17] AROS ,[18] and SymbOS .[19]
The type
command is supported by Tim Paterson 's SCP 86-DOS .[20] On MS-DOS , the command is available in versions 1 and later.[21] DR DOS 6.0 also includes an implementation of the TYPE
command.[22]
It is also available in the open source MS-DOS emulator DOSBox and the EFI shell .[23]
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.
DEC RT-11
[ edit ]
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.
Syntax
[ edit ]
The command-syntax on RT-11 is:
TYPE[/options] filespecs
COPIES:n
– Specify the number of times the file will be typed
DELETE
– Delete the file after typing it
LOG
– Log the names of the files typed
NEWFILES
– Only files dated with the current system date will be typed
NOLOG
– Suppress the log of the files typed
QUERY
– Require confirmation before typing each file
WAIT
– Wait for user response before proceeding with the type
Examples
[ edit ]
TYPE/COPIES:3 REPORT
TYPE/NEWFILES *.LST
DR CP/M, MP/M, FlexOS
[ edit ]
In Digital Research CP/M , the command expands tabs and line-feed characters (CTRL-I), assuming tab positions are set at every eighth column.
The command does not support wildcard characters on FlexOS .[12]
Syntax
[ edit ]
The command-syntax on CP/M is:
TYPE ufn
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.[7]
Examples
[ edit ]
TSL PC-MOS
[ edit ]
The Software Link 's PC-MOS includes an implementation of TYPE
. Like the rest of the operating system, it is licensed under the GPL v3 .[24]
It supports an option to display the file content in hexadecimal form.[13]
Syntax
[ edit ]
The command-syntax on PC-MOS is:
.TYPE filename [/h]
filename
– The name of the file to display
/h
– Display content in hexadecimal form
Examples
[ edit ]
Microsoft Windows, OS/2, ReactOS
[ edit ]
The ReactOS type
command
The command supports wildcard characters . In Microsoft Windows and OS/2 it includes the filename in the output when typing multiple files.
Syntax
[ edit ]
The command-syntax on Microsoft Windows and ReactOS 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.
Examples
[ edit ]
See also
[ edit ]
References
[ edit ]
^ "Concise Command Language" (CCL)."OS/8 Handbook" (PDF) . April 1974. Retrieved 28 November 2017 .
^ John F. Pieper (1987). RSX A Guide for Users (PDF) . Digital Equipment Corporation. ISBN 0-932376-90-8 . Retrieved 2020-09-19 .
^ TOPS-10 Operating System Commands Manual (PDF) . Digital Equipment Corporation. August 1980. Archived from the original (PDF) on 2020-08-09. Retrieved 2019-02-17 .
^ "TOPS-20 Command manual" (PDF) . Archived from the original (PDF) on 2020-08-09. Retrieved 2018-07-18 .
^ "Manual" (PDF) . www.cpm.z80.de . Retrieved 2020-09-19 .
^ a b 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 .
^ "Manual" (PDF) . www.pagetable.com . Retrieved 2020-09-19 .
^ Heath Company . "Software Reference Manual HDOS SYSTEM Chapter 2 General Operations" (PDF) . Archived from the original (PDF) on 2017-08-07. Retrieved 2020-02-08 .
^ Rügheimer, Hannes; Spanik, Christian (September 19, 1988). AmigaDOS quick reference . Grand Rapids, Mi : Abacus. ISBN 9781557550491 – via Internet Archive.
^ a b FlexOS User's Guide Version 1.3 (PDF) . 1.3 (1 ed.). Digital Research . November 1986. 1073-2003-001. Archived (PDF) from the original on 2019-03-30. Retrieved 2019-04-23 .
^ a b "roelandjansen/pcmos386v501" . GitHub . 2 January 2022.
^
SpartaDOS X 4.48 User Guide
^ "Users guide" (PDF) . archive.org . Retrieved 2020-09-19 .
^ "Microsoft TechNet Type article" . 11 September 2009.
^ "reactos/reactos" . GitHub . 3 January 2022.
^ "AROS Research Operating System" . aros.sourceforge.io .
^ "Data sheet" . www.symbos.de . Retrieved 2020-09-19 .
^ 86-DOS - Disk Operating System for the 8086 - User's Manual (PDF) . Version 0.3 (Preliminary ed.). Seattle, Washington, USA: Seattle Computer Products, Inc. 1980. Archived from the original (PDF) on 2019-07-14. Retrieved 2019-07-14 . (59 pages)
^ Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition . Microsoft Press . ISBN 0-7356-1812-7 .
^ DR DOS 6.0 User Guide Optimisation and Configuration Tips
^ "EFI Shells and Scripting" . Intel . Retrieved 2013-09-25 .
^ Jansen, Roeland (8 February 2018). "pcmos386v501: PC-MOS/386 v5.01 final release including cdrom driver sources" – via GitHub.
Further reading
[ edit ]
External links
[ edit ]
t
e
File system navigation
File management
Archiving
Disk management
Processes
Registry
User environment
File contents
Scripting
Networking
Maintenance and care
Boot management
Software development
Miscellaneous
R e t r i e v e d f r o m " https://en.wikipedia.org/w/index.php?title=TYPE_(DOS_command)&oldid=1231136742 "
C a t e g o r i e s :
● W i n d o w s c o m m a n d s
● C P / M c o m m a n d s
● I n t e r n a l D O S c o m m a n d s
● M S X - D O S c o m m a n d s
● O S / 2 c o m m a n d s
● R e a c t O S c o m m a n d s
● M i c r o c o m p u t e r s o f t w a r e
● W i n d o w s a d m i n i s t r a t i o n
● T h i s p a g e w a s l a s t e d i t e d o n 2 6 J u n e 2 0 2 4 , a t 1 7 : 4 0 ( U T C ) .
● T e x t i s a v a i l a b l e u n d e r t h e C r e a t i v e C o m m o n s A t t r i b u t i o n - S h a r e A l i k e L i c e n s e 4 . 0 ;
a d d i t i o n a l t e r m s m a y a p p l y . B y u s i n g t h i s s i t e , y o u a g r e e t o t h e T e r m s o f U s e a n d P r i v a c y P o l i c y . W i k i p e d i a ® i s a r e g i s t e r e d t r a d e m a r k o f t h e W i k i m e d i a F o u n d a t i o n , I n c . , a n o n - p r o f i t o r g a n i z a t i o n .
● P r i v a c y p o l i c y
● A b o u t W i k i p e d i a
● D i s c l a i m e r s
● C o n t a c t W i k i p e d i a
● C o d e o f C o n d u c t
● D e v e l o p e r s
● S t a t i s t i c s
● C o o k i e s t a t e m e n t
● M o b i l e v i e w