共用方式為


StdOut Property (WScript)

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

                      object.StdOut 

Arguments

  • object
    WScript object.

Remarks

The StdOut property returns an object representing the standard output 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

Reference

Write Method (Windows Script Host)

WriteBlankLines Method (Windows Script Host)

WriteLine Method (Windows Script Host)

Close Method (Windows Script Host)

Column Property (Windows Script Host)

Line Property (WScript)

TextStream Object

Other Resources

Error Messages (Windows Script Host)