StdErr Property (WScript)

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

Syntax

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.

Applies To:

WScript Object

See Also

Error Messages (Windows Script Host)
TextStream Object
Write Method (Windows Script Host)