Vbscript input/output

From wikinotes

Printing

Set fso = CreateObject ("Scripting.FileSystemObject")
Set stdout = fso.GetStandardStream (1)
Set stderr = fso.GetStandardStream (2)

stdout.WriteLine "print to stdout"
stderr.WriteLine "print to stderr"