Windows Script Host  

BuildVersion Property

Returns the Windows Script Host build version number.

Object.BuildVersion

Parameters

Object
WScript object.

Remarks

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.

Example

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;

See Also

Version Property