WSH » WScript » Version

Syntax:
WScript.Version

The Version property is read only and returns a string that is the version number of the host executable.

Examples

Code:
WScript.Echo "This is WSH version", WScript.Version
Output:
This is WSH version 5.1
Explanation:

This VBScript code illustrates the use of this property under WSH 2.0. Note that in this case, the Version property returns 5.1.

Language(s): VBScript

See Also: