批处理脚本 - TYPE



此批处理命令将文件或多个文件的内容打印到输出。

语法

TYPE [filename]

其中 filename 是需要显示其内容的文件。

示例

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

输出

文件 lists.txt 的内容将显示在命令提示符处。

batch_script_commands.htm
广告
© . All rights reserved.