Input Error: There is no script engine for file extension ".js" Options

davegate Posts: 182 Points: 894
Posted: Wednesday, January 20, 2016 11:16:02 AM

Failed to debug a Javascript-based script using CScript.exe with the following error information:

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

Solution

Check the current association of the ".JS" extension on that Windows system by running the following command:

c:\>ASSOC .JS

It should show something like ".js=JSFile" on a working system. If it shows something else, note what it is for safekeeping and then change it with:

c:\>ASSOC .JS=JSFile

Verify the change using "ASSOC .JS" again.

 
Users browsing this topic
Guest