Reputation: 6839
i want to list files that i updated today or after any particular date .
I have tried using timeField
but am not able to get the expected results. How can i use DIR with other parameters to list down files that were updated after a specified date.
Upvotes: 2
Views: 468
Reputation: 80023
make an empty dummy directory, then use xcopy /l /y /d:m-d-y
md dummy
xcopy /L /y /d:m-d-y "yourdirectoryname" dummy >resultfilename.txt
rd dummy
should get you a list of filenames updated d-m-y or later into resultfilename.txt
Upvotes: 2