Hey!!
I have a script (bat-file) to gather info about servers information, and I want to convert it to vbs.
everything works fine and it does what it should if I write like this:
shell.run "srvinfo -s \\" & Server
But, If I want to save the outcoming info it stops working. This is the line I write then:
shell.run "srvinfo -s \\" & Server & " > \\" & sLogServer & "\" & Server & ".txt", 0, True
Is there anything that vbscript doesn't like in this??
Please help
/Daniel
I have a script (bat-file) to gather info about servers information, and I want to convert it to vbs.
everything works fine and it does what it should if I write like this:
shell.run "srvinfo -s \\" & Server
But, If I want to save the outcoming info it stops working. This is the line I write then:
shell.run "srvinfo -s \\" & Server & " > \\" & sLogServer & "\" & Server & ".txt", 0, True
Is there anything that vbscript doesn't like in this??
Please help
/Daniel