Jim said:
Yes. If possible, I want to give range like from two days
ago up to now.
If you download FORFILES.EXE (free) from Microsoft, you can
do something like the following example, which lists all of
the *.cmd files in directory c:\cmd\demo that are 35 days old
or newer:
- - - - - - - - - - begin screen capture - - - - - - - - - -
<Win2000> c:\cmd>forfiles -pc:\cmd\demo -m*.cmd -d+35 -c"cmd /c echo @FDATE @FILE"
20030822 DeleteProfiles.cmd
20030824 dumpvars.cmd
20030831 ShowFolderSpace.cmd
20030828 OldCreateDirStructure.cmd
20030829 month.cmd
20030830 ReadAndEcho.cmd
20030917 ExtractIPAddresses.cmd
20030922 FixMySpreadsheet.cmd
20030924 ValidDrives.cmd
- - - - - - - - - - end screen capture - - - - - - - - - -
You can download FORFILES.EXE from ftp://ftp.microsoft.com/reskit/y2kfix/x86/