in reply to need vb script to be perl
Ummmm ... If you have a working program, why do you need to convert it to Perl?
I'm not trying to be flippant, I'm just a believer in "Don't Repeat Yourself".
--roboticus