Windows Script Host  

StdErr Property (WScript)

Exposes the write-only error output stream for the current script.

object.StdErr 

Arguments

object
WScript object.

Remarks

The StdErr property returns an object representing the standard error stream. The StdIn, StdOut, and StdErr streams can be accessed while using CScript.exe only. Attempting to access these streams while using WScript.exe produces an error.

See Also

Error Messages | WScript Object