Hi,
we are using a procedure for Log Backups and to clean the folder using xp_cmdshell when the given timeframe is reached.
1st step: get the folder content into a table
2nd step: select all files which will be deleted based on the timestamp in the filename
3rd step: delete them using xp_cmdshell
another solution I could think of would be a powershell script to do the cleaning based on the file create date or something like that and use a jobscheduler to execute it.
BR Gerald