I am Dale Hayter, a Microsoft and VMware certified Technical Consultant.

My blog has been built up over the years from my experience of working on an IT helpdesk and also from being out on-site.

Batch File to delete folders older than 10 days

Batch File to delete folders and contents older than 10 days.

FORFILES /S /D -10 /C "cmd /c IF @isdir == TRUE rd /S /Q @path"