Deleting old backup files | SQL Server Performance Forums

SQL Server Performance Forum – Threads Archive

Deleting old backup files

Hey all, I need to create a package that will go out and delete on .txt files from a LAN directory. Could someone please provide package details and code for me. I want to delete files that are 4 weeks older then the current date. Thank you
Kindly, move post to General DBA Questions.
Luis Martin
Moderator
SQL-Server-Performance.com All postings are provided “AS IS” with no warranties for accuracy.
In future kindly post one post in relevant forum and for the followup refer to Raulie’s suggestionhttp://www.sql-server-performance.com/forum/topic.asp?TOPIC_ID=4935 here.
(moved from SQL Server scripts forum) Satya SKJ
Moderator
http://www.SQL-Server-Performance.Com/forum
This posting is provided “AS IS” with no rights for the sake of knowledge sharing.
]]>