DOS Batch file to find "new" files by date
--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Breezy Bay
--
Chapters
00:00 Dos Batch File To Find &Quot;New&Quot; Files By Date
00:56 Accepted Answer Score 13
01:34 Thank you
--
Full question
https://superuser.com/questions/326021/d...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#commandline #batch #find #diskoperatingsystem
#avk47
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Breezy Bay
--
Chapters
00:00 Dos Batch File To Find &Quot;New&Quot; Files By Date
00:56 Accepted Answer Score 13
01:34 Thank you
--
Full question
https://superuser.com/questions/326021/d...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#commandline #batch #find #diskoperatingsystem
#avk47
ACCEPTED ANSWER
Score 13
this is a simple, albeit roundabout way, using xcopy. you can look at xcopy /?
to see the switches etc.
xcopy \windows\*.exe /L /S /D:12-01-2000 .
This command will output a list of .EXE
files and paths in the \windows
folder recursively, that were modified on or after 12/1/2000, without actually copying them. NOTE there is a period at then end of the command. Its hard to see with a small font.
Edit 1: I took out the /F
from the original command, as it was extraneous.
Edit 2: You can pipe the output to "| more
" if you want