发信人: foxzz()
整理人: foxzz(2003-12-31 20:15:45), 站内信件
|
SET CLASSLIB TO REGISTRY ADDITIVE
oReg = CREATEOBJECT('Registry')
IF oReg.IsKey('VBScript.RegExp')
&& Version 2.0 of the WSH is installed
ELSE
&& Version 2.0 isn't installed, but 1.0 might be
ENDIF
In order to check for 1.0 you could check for something like the WScript.Shell or Scripting.FileSystemObject. |
|