Microsoft DOS type command

Updated: 09/15/2017 by Computer Hope

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
Windows 10

Type syntax

Type [drive:][path]file name

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.