Although it does happen with VBScript, most people have problems
getting their JavaScript (JS) files to run correctly after they install certain kinds of software or perform
actions with virus detection software. If you double-click on a JS file and nothing happens, the problem
might be in the registry. For whatever reason (and I wasn??™t able to verify a single specific reason), sometimes
people find Windows or another external application removes their JavaScript settings.
The main problem is that the registry lacks entries for the .JS extension handler. Verify that you have the
handler installed by viewing the
HKEY_CLASSES_ROOT\.JS
key first. This key should say JSFile as the
(Default) value. Now, look at the
HKEY_CLASSES_ROOT\JSFile
entry. It should have JScript Script File as
the (Default) value and
@%SystemRoot%\System32\wshext.dll,-4804
as the FriendlyTypeName
value. You should see two open verbs. The first is at
HKEY_CLASSES_ROOT\JSFile\Shell\Open\
Command
and should have a (Default) value of
%SystemRoot%\System32\WScript.exe ???%1??? %*
. The
second is at
HKEY_CLASSES_ROOT\JSFile\Shell\Open2\Command
and should have a (Default)
value of
%SystemRoot%\System32\CScript.
Pages:
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424