0

Any example of windows xp dos script(.bat) that when run will iterate all subdirectories and list all files that have date updated since yesterday time?

user41999
  • 117
  • 1
  • 6

1 Answers1

1

This should get you pretty close to what you need. I pipe this to a txt file called dir.txt on my desktop.

@echo off

XCOPY * "%TEMP%" /H /L /S /Y /D:10-06-2011 >> "C:\Users\Greg\Desktop\dir.txt"

The /L switch is important because that tells you what files would be copied.

GregD
  • 8,713
  • 1
  • 24
  • 36