
CODE: [Copy to clipboard][ Last edited by netbenton on 2009-7-28 at 06:13 ]@echo off
(for /f "delims=" %%a in ('dir /ad /b') do (
for /f "delims=件字 tokens=2" %%b in ('dir "%%a" /s /a-d ^|findstr "个文件"') do (set #s=%%b)
call echo %%a %%#s%%
))>dest.txt
pause
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |