Microsoft® Windows® Script Host
AtEndOfStream Property
WSH Reference
Version 2

Applies To


Description
Returns True if the stream pointer is at the end of an input stream; False if it is not.
Syntax
object.strStream.AtEndOfStream
Parameters
Part Description
object WScript object.
strStream StdIn property.
Remarks
The StdIn, StdOut, and StdErr properties and methods will work only when the script is run with CScript.exe. If the script is run with WScript.exe, an "Invalid Handle" error will result. For more information, see Windows Script Host Error Messages.