Delete files by date

HBMI used Ask the Experts™
I am looking for a program/batch file to delete files in a specified folder that are older than 14 days.  I would like to put it in the job scheduler so it runs it every day.  I had this on my previous computer but the drive crashed and I was not able to recover any data.  Seems to me it was something called delete32 but not sure.  I am running windows 7.

Any ideas?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
forfiles -p "C:\what\ever" -s -m *.* -d <number of days> -c "cmd /c del @path"

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial