I wrote this basic VBScript sample to delete old .bak files from a particular folder if its older than X number of days.