BuildVersion Property

Returns the Windows Script Host build version number.



WScript object.

The BuildVersion property returns an integer value.

The full version number of Windows Script Host consists of the product release version number followed by the build version number. For example, if the Windows Script Host product release version number is 5.6, and the build version number is 6626, the full version number is 5.6.6626.

Applies To: WScript Object

The following code returns the full version number of the Windows Script Host. This consists of the product release version number plus the build version number.

WScript.Echo WScript.Version & "." & WScript.BuildVersion;

Community Additions