scripting:api:wsh-text-stream:line

Line

Property of IWshTextStream

Read-only property that returns the current line number in a TextStream file

Read-Only Property of type long

var Line = WshTextStream.Line;
Line = WshTextStream.Line
long Line;
HRESULT hr = WshTextStream.get_Line(&Line);