1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

Type (Recovery Console)


What is the Type Command?:

The type command is a Recovery Console command used to display the contents of a text file on your computer screen.

The type command can be used interchangeably with the more command.

A type command is also available from the Command Prompt.

Type Command Syntax:

type [drive:] [path] filename

drive = This is the drive letter that contains the filename.

path = This is the folder or folder path that contains the filename.

filename = This is the name of the text file that you want to display the contents of on screen.

Type Command Examples:

type kb886185.log

In the above example, typing the type command followed by the kb886185.log file name will show the contents of the file on screen.

Since I didn't give any drive: or path information, the type command will display the contents of the kb886185.log file that's contained in the folder that I happen to be in.

type c:\windows\system\setup.inf

In this example, the type command is used to show the contents of the setup.inf file located in the c:\windows\system folder.

Type Command Availability:

The type command is available from within the Recovery Console in Windows 2000 and Windows XP.

Type Related Commands:

The type command is often used with many other Recovery Console commands.

©2014 About.com. All rights reserved.