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.