The following commands are for moving / deleting files in a folder after a set time limit in days.

deleting-

forfiles -p "C:\what\ever" -s -m *.* /D -<number of days> /C "cmd /c del @path"

moving-

forfiles -p "C:\what\ever" /m *.* /s /d -<number of days> /c "cmd /c move @file C:\what\ever"

Last update 11-09-2014