
CODE: [Copy to clipboard][ Last edited by freeants001 on 2009-4-26 at 08:00 ]for /f %%i in ('findstr /m /c:"小说" *.txt') do ren %%~nxi %%~nxi.tx$
for /f %%i in ('dir/a/on/b *.txt') do type "%%~i" dest.txt
ren *.tx$ *.txt
CODE: [Copy to clipboard]@echo off
(for /f "delims=" %%a in ('dir /b /on *.txt^|findstr /v "小说"') do type "%%a")>>alltxt
ren alltxt *.txt
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |