Vince,
As allways, thank you very much for your help. Here is the link to Phil Cruz's website. It should work this time.
I downloaded your original source code and have been using it for a while. When I upgraded to SQL 2005, I started to get errors and found Phil Cruz's fixes.
http://philcruz.com/blog/2006/04/more-intelligent-backup-and-restore.htm
Do you have a newer version that supports SQL 2005?
Thanks