File1.txt 09/25/2016 2:00
File2.txt 09/25/2016 3:00
File3.txt 09/25/2016 3:01
我只想列出2点以后创建的文件
到目前为止,我所拥有的是日期:
set year=%date:~10,4%
set month=%date:~4,2%
set day=%date:~7,2%
set fileDATE=%month%/%day%/%year%
forfiles /p %DIRName% /D +%fileDATE% >> %workingDir%\list.txt
@ECHO off
FOR /f %%a IN (%workingDir%\list.txt) DO (
echo %%a
)
如何通过循环中的时差来区分?