WScript Object
BuildVersion Property
Property: WScript.Version
WScript.
Version
The
Version
property
is read only
and returns a string that is the version number of the host executable.
The following VBScript code illustrates the use of this property under WSH 2.0. Note that in this case, the
Version
property returns 5.1.
Code:
WScript.Echo "This is WSH version", WScript.Version
Output:
This is WSH version 5.1
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information