How to check scritpting engine's version ?

Hi all, I wonder I need to update to the latest version of windows scripting engine so that less errors are likely to happen. If so, how I look up the version from my system? My operating system is win2000 professional.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

flashnut -

Copy this code and run it in Internet Explorer:


<script language="JScript">
     window.alert(ScriptEngineMajorVersion() + "." + ScriptEngineMinorVersion());


The number that pops up in the alert box is the version of the JScript engine that is currently running on your system, which is equivalent to the version of MS Windows Script that is installed on your system.

If the number that pops up in the alert box is not 5.6, then you have an older version of MS Windows Script, and you can download version 5.6 here:

Hope this helps.

(chomp, chomp)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ZvonkoSystems architectCommented:
Try this:

<script language="JavaScript1.1">
 var JSv = "1.1";
<script language="JavaScript1.2">
 var JSv = "1.2";
<script language="JavaScript2.1">
 var JSv = "2.1";

Not to be a killjoy, but you should be handling errors in some graceful fashion so that having the latest scripting engine will not destroy your app. If you are not sure of your deployment environment, that is. If you are confident of your deployment environment, you need to make sure that it and your development environment are in synch.

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

flashnutAuthor Commented:
Thank you all, mates.Both solutions work well, my MS Window is 5.6 and javascript is 1.2.Actually, I just to make sure wat my deployment environment is, at least, when the problem raise up, I can refer to more sources for the cause.Once again, thank you all very much.
This question has been classified abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.

Unless it is clear to me that the question has been answered I will recommend delete.  It is possible that a Grade less than A will be given if no expert makes a case for an A grade. It is assumed that any participant not responding to this request is no longer interested in its final disposition.

If the user does not know how to close the question, the options are here:



I provided the first response and solution to the poster's original question.  Quoted directly from the poster: "Thank you all, mates.Both solutions work well...Once again, thank you all very much."  I would like to be considered for the points.

(chomp, chomp)
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Split between gator4life and Zvonko

Please leave any comments here within the next seven days.


EE Cleanup Volunteer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.