Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
-1
rated 0 times [  4] [ 5]  / answers: 1 / hits: 24920  / 13 Years ago, thu, august 25, 2011, 12:00:00

I'm trying to learn how to run Javascript (instead of VBScript) using CScript.exe, but when I try, I get an error:



cscript temp.js
Input Error: There is no script engine for file extension .js.


I thought this is possible -- any idea what's wrong?


More From » windows-7

 Answers
18

It turns out that the .js extension wasn't associated with JSFile in the registry. Doing so fixed the problem.


[#90423] Wednesday, August 24, 2011, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
luna

Total Points: 698
Total Questions: 114
Total Answers: 93

Location: Israel
Member since Wed, Apr 14, 2021
3 Years ago
luna questions
;