Poor innocent you. Just trying to get started with WSH, and this is what you are greeted with:
“Input Error: There is no script engine for file extension “.js”.”
Happens because SOMETHING has hijacked your .js extension.
See what it is:
ASSOC .js
The fix:
ASSOC .js=JSFile
One Comment
I ran into this error too but not because of no associations. In my case I was invoking cscript via commandline scripts. I described my solution here:
http://tweaktricks.blogspot.com/2009/09/dreaded-input-error-when-calling.html