合并子目录所有文本文件的批处理

来源:互联网 发布:php 房源管理系统 编辑:程序博客网 时间:2024/05/17 12:20
set DestPath=.for /f "delims=" %%i   in ('dir /ad /b ' )  do (copy %DestPath%\%%i\*.txt %DestPath%\%%i\merge.txt)

0 0