WScript.StdErr (Property)

A write-only stream used for output.

Availability:

JScript - 3.0
Property/method value type:TextStream object
JavaScript syntax:WSHmyStream = WScript.StdErr

This is only available to WSH scripts being executed from a command line interface. It provides a way for the scripts to communicate error messages back to the caller.