Native Windows Command

Some of you may already know about this native windows command, but I didn’t…  so here it is if anyone is interested

 forfiles -pc:\act -m*.zip -d-7 -c”CMD /C del @FILE”

 The above command will delete zip files from “c:\act” that are older then 7 days.  This would be beneficial when having to delete files that are automatically created but only need to be retained for a certain amount of days.

Windows

Leave a Reply

Comment
Name*
Mail*
Website*