
How to determine version of WSH?
Quote:
> 5.6
> From the shell, the easiest way to tell is to look at versions of the
> core WSH files. I think this covers most of them:
> cscript.exe
> wscript.exe
> scrobj.dll
> wshcon.dll
> wshext.dll
> On Windows XP they should show 5.6.0.6626 as the version number I
> *think* (if updated with the latest patches).
5.6.0.6626 is the original version on all files on XP. Up to now it has almost
every time been the
VBScript.dll that has had the latest version of all versions
of WSH. XP comes with 5.6.0.6626 for this DLL, but what you should want is
version 5.6.0.6914. It has the regular expression bug fixed.
If you don't have 5.6.0.6914 of vbscript.dll, you can go to the windows update
site and install it.
Here are some info about the updates you need:
Windows XP Application Compatibility Update (December 17, 2001)
http://support.microsoft.com/directory/article.asp?ID=kb;en-us;Q313484
and/or
Windows XP Application Compatibility Update (October 25, 2001)
http://support.microsoft.com/directory/article.asp?ID=KB;EN-US;Q308381
The October 25 MSKB doesn't list vbscript.dll, but it is in there.
--
torgeir