hsyjxp 当前离线
列兵
CrLf 当前离线
论坛巡查
TOP
applba 当前离线
中校
batman 当前离线
考官
荣誉版主
@echo off for /f "delims=" %%a in ('dir /a-d /b RS05???15??.*') do if "%%~ta" gtr "%date:~0,10% 4:00" set /a "n+=1"&echo %%a echo %n%个文件 pause复制代码
hanyeguxing (寒夜孤星)当前离线
@echo off&setlocal enabledelayedexpansion for /f "delims=" %%a in ('dir /a-d/o:d/t:c RS05???15??.*') do ( set "a=%%a" if "!a:~0,1!" neq " " ( set/ab+=1 if "!a:~0,17!" lss "%date:~0,11% 04:00" set/ac+=1 )) echo;4点之前:%c%&echo;总数:%b%&pause复制代码