Windows command

获取文件夹下所有文件的绝对路径与文件名包含文件名后缀。包含子文件夹中的文件。

dir 路径 /s /b /a:-d > d: esult.txt

批量重命名

ren *.txt *.html 将txt后缀改为html

dir e: /a /s /d /w > d:c.txt

tree e: /f > d:d.txt

del /a/f/q .xlogs*

移动文件

move /y d:end.obj C:UsersadminDesktop 移动文件,重复时候覆盖

复制文件

copy /y d:end.obj C:UsersadminDesktop 重复则覆盖

原文地址:https://www.cnblogs.com/Searchor/p/5591770.html