sjbit 当前离线
列兵
TOP
DAIC 当前离线
中将
@echo off (for /f "delims=" %%i in ('dir /b /a-d *.jpg') do ( set /p =%%i,<nul jhead "%%i" | findstr "Date/Time" ))>"1.csv"复制代码
pcl_test 当前离线
荣誉版主
@echo off&setlocal enabledelayedexpansion for %%a in (*.jpg) do ( set "wd=%%~ta" set "wd=!wd:/=!" set "wd=!wd:-=!" set "wd=!wd: =@!" set /a #!wd!+=1 ) set # pause复制代码
flyinnet9 当前离线
少尉
@echo off setlocal ENABLEDELAYEDEXPANSION for /f "tokens=1,2,4" %%a in ('dir /a-d *.jpg^|find "."') do ( if not defined %%a%%b ( for /f "tokens=1,2,4" %%d in ('dir /a-d *.jpg^|find "."') do ( if "%%a%%b"=="%%d%%e" set /a n+=1 ) echo. %%a %%b共拍摄 !n! 张照片 set n= ) set %%a%%b=1 ) pause复制代码