Windows command

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

dir 路径 /s /b /a:-d > d:\result.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 .\x\logs\*

 

移动文件

move /y d:\bend.obj C:\Users\admin\Desktop 移动文件,重复时候覆盖

 

复制文件

copy /y d:\bend.obj C:\Users\admin\Desktop 重复则覆盖

 

posted @ 2016-06-16 17:52  fndefbwefsowpvqfx  阅读(221)  评论(0编辑  收藏  举报