共用方式為


StdIn Property (WScript)

Exposes the read-only input stream for the current script.

                      object.StdIn 

Arguments

  • object
    WScript object.

Remarks

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

Read Method (Windows Script Host)

ReadAll Method (Windows Script Host)

ReadLine Method (Windows Script Host)

Skip Method (Windows Script Host)

SkipLine Method (Windows Script Host)

AtEndOfLine Property (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)