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

Applies To


Description
Returns the column number of the current character position in an input stream.
Syntax
object.strStream.Column
Parameters
Part Description
object WScript object.
strStream StdIn property.
Remarks
This property is read-only. After a newline character has been written, but before any other character is written, Column 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.