• maybe this is shorter and fills in you needs: the maintenance cleanup task

    you can even script it http://sqlblog.com/blogs/andy_leonard/archive/2009/03/11/xp-delete-file.aspx