Friday, April 27, 2012

TYPE - Dos Command :

It displays the contents of a text file or files.
Command can be run using Microsoft Windows XP Command Prompt (cmd.exe)
To view 'type' command with its all possible parameters you can use following command. Its like help information to regarding that command.
type /?
Syntax :
 TYPE [drive:][path]filename
Use :

type D:\techno.txt
This is text.. Welcome to www.technoexam.com !

- The above example displays contents from a techno.txt file which is located at D drive.

Output :


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

D:\DINESH > type D:\techno.txt
This is text.. Welcome to www.technoexam.com !

D:\DINESH > _

No comments:

Post a Comment