Use Forfiles To Process Files Based On Age

Status
Not open for further replies.

Osiris

Golden Master
Messages
36,817
Location
Kentucky
Use Forfiles To Process Files Based On Age


It is always good to know some command line magic, as it is sometimes easier to process commands that way. This guide demonstrates the Forfiles command in Windows Vista and Windows 7. Forfiles can process files based on names, file extensions and age. It is for instance possible to find all documents in a directory that are older than 20 days, or all documents in c:\documents that have been changed since a specific date.
The forfiles command can be coupled with processing options to delete those files, or create a list of all files that match the filters. Lets take a closer look at the forfiles command.
 
Status
Not open for further replies.
Back
Top Bottom