Home > Article > Web Front-end > Solution to the problem that the saved js cannot be executed [Original]_Basic knowledge
Many novices cannot run the saved js, or simply open it with software such as Notepad. What we need to see is the execution effect. Comrades who often use Notepad or eidtplus to write by hand basically use the js suffix. The script is opened with text. What should I do if I suddenly want it to be executed? There are two methods
1. The more fundamental solution is: for example, run.js, we directly right-click on this file -> Call up and open Method--select program--browse to the system disk (if it is the c drive) and find c:windows (or winnt)system32wscript.exe
2. Directly change run.js to run.jse , this makes it easier to run