Batch Script - TYPE



This batch command prints the content of a file or files to the output.

Syntax

TYPE [filename]

Where filename is the file whose contents need to be displayed.

Example

@echo off 
TYPE C:\tp\lists.txt

Output

The contents of the file lists.txt will be displayed to the command prompt.

batch_script_commands.htm
Advertisements