AtEndOfStream

Property of IWshTextStream

Returns true if the file pointer is at the end of a TextStream file; false if it is not. Read-only

Read-Only Property of type VARIANT_BOOL

JavaScript

var EOS = WshTextStream.AtEndOfStream;

Visual Basic Script

EOS = WshTextStream.AtEndOfStream

C++

VARIANT_BOOL EOS;
HRESULT hr = WshTextStream.get_AtEndOfStream(&EOS);