Find files modified in Windows command line

The forfiles command exists to facilitate finding files in a given path and can be used to also find files modified by date.

forfiles /P c:\users\techish /S /D +11/01/2022

The above command would recursively (/S) search the path (/P) C:\users\techish for all files modified after the date (/D) of November 1, 2022.

Leave a Reply

Your email address will not be published. Required fields are marked *