The following command will recursively delete files older than X number of days:
forfiles -p "C:\PATH\TO\FILES" -s -m *.* /D -[number of days] /C "cmd /c if @isdir==FALSE del @path"
The following command will recursively delete files older than X number of days:
forfiles -p "C:\PATH\TO\FILES" -s -m *.* /D -[number of days] /C "cmd /c if @isdir==FALSE del @path"