批处理脚本 - REN



重命名文件和目录

语法

ren [oldfile/dirname] [newfile/dirname]

将文件/目录名称从旧名称重命名为新名称。

示例

@echo off 
ren C:\lists.txt C:\newlists.txt

输出

文件 lists.txt 将重命名为 newlists.txt

batch_script_commands.htm
广告
© . All rights reserved.