Microsoft DOS Type command

Quick links

About type
Type syntax
Type examples

About type

Allows the user to see the contents of a file.

To edit the files, the user would need to use either edit or copy con.


The type command is an internal command that is available in the below Microsoft operating systems.

All Versions of MS-DOS
Windows 95
Windows 98
Windows ME
Windows NT
Windows 2000
Windows XP
Windows Vista
Windows 7
Windows 8

Type syntax

Type [drive:][path]filename

Type examples

Type c:\autoexec.bat

This would allow you to look at the autoexec.bat file if it exists.

Additional information

  • See our type definition for further information and related links on this term.