
CODE: [Copy to clipboard][ Last edited by Hanyeguxing on 2011-1-8 at 14:44 ]findstr /v /r /x /g:a.txt b.txt>c.txt
CODE: [Copy to clipboard][ Last edited by Hanyeguxing on 2011-1-11 at 21:11 ]@echo off&setlocal enableDelayedExpansion
set/a a=1024*1024*12,b=1
set "c=输出路径"
for /r "源文件所在路径" %%a in (*.txt) do (
for %%b in ("%c%\!b!.txt") do set/a d=%%~zb+%%~za
if !d! gtr %a% set/a b+=1
type "%%~fa">>"%c%\!b!.txt"
)
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |