You will come across this problem all the times... if you are backing up the incoming files by BizTalk... and want to get rid of them after certain time period
Here is what I will use ... if permitted by Client.
This program can automagically delete files in a specific folder that are older than the specified time. It checks the file dates by modification time. You can have it run on every Windows startup to delete old temp files, backups, webcam snapshots history, temporary internet files, etc...
If you get an "Error 5:" message when autodelete runs, then you most probably are a Windows Vista user and have UAC (User Account Control) turned on. The only way to run autodelete with UAC on is by running it as an administrator. You can also right-click on the autodelete shortcut and go to the 'advanced' tab, then the 'advanced' button and activate 'run as administrator'. The program will not give an error but you will get a UAC warning every time the program runs. I have not found a way to avoid this yet, so the only advice I can give is to disable UAC by going to the controll pannel and in the search type 'disable UAC', you will be given a link to disable UAC