Hi, All:
Thank you for your comments and reading my article. It was meant to provide some interim solution to the maintenance issue.
The xp_delete_file is I believe used in the maintenance clean-up task, but didn't work for multiple db's for multiple locations (ie subfolders). So, this was an extension of that task.
Granted, a disclaimer should have been included in the article (maybe it's not too late - Steve?) as with all scripts, one must be aware there are risks.
As for not working over the network, my backups are only to a network share and works quite well.
Feel free to post any questions, or comments, or email me @ rsp05@pearlknows.com
Regards,
Robert Pearl