You could use a stored procedure..
Attachments
Library
Quick Reference
Archives
Sample Index
2008 Indexes