Found by Tony S.
This is a for loop for DOS, used in this case to backup .BAK files (-m) , over a day old (-d) to TSM and then delete them afterwards. The -s makes it recursive.

Just in case you ever need to do it.

Apparently forfiles comes with win2003 sp1 onwards.

C:\WINDOWS\system32\forfiles -p d:\TSM-DB-Backups  -s -m *.BAK -d -1 -c "cmd /C del @Path"