If you want to delete old files from your SAP system then you can easily use “Forfiles” feature of Windows operating system.
For an example , you can delete the files older than 60 days for defined directory like shown below ;
forfiles /P F:\oracle\SID\trace\audit /S /M *.xml /D -60 /C “cmd /C del @path”
You can create a simple CMD file and schecdule with “Windows Task Manager” option.
You can find the detail informations from the following web site ;