Microsoft® Windows® Script Host Line Property |
WSH Reference Version 2 |
Returns the current line number in an input stream.
object.strStream.Line
Part Description object WScript object. strStream StdIn property.
This property is read-only. After a stream is initially opened, and before anything is written, Line is equal to 1.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.