WSH » TextStream » Line

Syntax:
object.Line

This property returns the current line number in a text file.