alick 当前离线
上等兵
TOP
qixiaobin0715 当前离线
大校
@echo off (for /f "delims=" %%a in ('findstr /sm /g:a.txt DDI\*.txt') do ( set /a n+=1 echo,%%a ))>FileNum.txt echo,file number:%n%>>FileNum.txt pause复制代码
@echo off for /f "delims=" %%a in ('findstr /m /g:a.txt DDI\*.txt') do set /a n+=1 echo,%n% pause复制代码