this command will delete all files inside c:\Folder and subfolders which are older than <Number of Days>
forfiles -p "C:\Folder" -s -m *.* /D -<Number of Days> /C "cmd /c del @path"
forfiles -p "C:\Folder" -s -m *.* /D -<Number of Days> /C "cmd /c del @path"