To run the executable from the Windows Scripting Host using JScript , create a file with the .js extension and add this code:
var shell = WScript.CreateObject("WScript.Shell"); shell.Run("calc.exe");
Double-click the file icon to run and launch the application.
source share