The Application property is read only and returns a reference to the current WScript instance.
Set objWScript =
WScript.Application
If WScript = objWScript Then
WScript.Echo "They're equal"
Else
WScript.Echo "They're
different"
End IfThey're equalThis VBScript code obtains a reference to the WScript object through the Application property, and then compares this to the WScript object to demonstrate that they are identical.