zstjhh 当前离线
列兵
DAIC 当前离线
中将
@echo off (for /f "delims=" %%i in (test.txt) do ( dir /b /s /a-d "%%i.jpg" >nul 2>&1 && echo %%i 有 || echo %%i 无 ))>xs.txt复制代码
TOP
apang 当前离线
上将
@echo off (for /r %%a in (*.jpg) do echo,%%~na)>$ ( for /f "delims=" %%a in ('findstr /ixg:$ test.txt') do echo,%%a 有 for /f "delims=" %%a in ('findstr /ivxg:$ test.txt')do echo,%%a 无 )>xs.txt del $复制代码