In NT script, is there an easy way of deleting files with specific extension created more than X days ago?
In UNIX, I execute the following script to delete files ‘.trc’ type which are older than 14 days:
find $DDB -name ‘*.trc’ -mtime +14 -exec rm {} \;
Thank you.