It's OK, I'm a VB forum... 😀
Which one doesn't work, or is it both?
And what error if any do you get?
And how are you executing this? (what facility are you using to host and execute the VBscript?)
[font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
Proactive Performance Solutions, Inc. [/font][font="Verdana"] "Performance is our middle name."[/font]