StdIn Property (WScript)

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




  • object
    WScript object.


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

Error Messages (Windows Script Host)
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