in reply to How to write vbscript equivalent to perl

Hi shanthi,

By 'fails' do you mean that your script dies or does not print the data?
I can't test this at the moment, however you may want to have a look at the example script List Operating System Properties from the Microsoft Perl scripts master index. You may find pointers towards achieving the rest of your goals within the scripts listed there.

Hope this helps.

Martin