Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How I delete the backup files

Status
Not open for further replies.

Xaplytz

Programmer
Jun 26, 2000
79
US
I make by code my owns backups to a file in the hard disk
When the file gets old I delete it manually. But
I would like to know if there ware some way to delete this file using a SQL- statement
thank
[sig][/sig]
 
Run this...

exec master..xp_cmdshell 'del c:\...\filename'

Tom [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top