I need to run a command to open a windows application using javascript. And I am using below line of code:
I execute the cmd and opens the application but the problem is it displays ActiveX warning message and also it doesn't return any value to verify if it was able to execute the cmd successfully.
Please suggest some solution to disable ActiveX warning message using javascript in client machine. And also like to know if there is any other way/fucntion without using ActiveXObject() .
Code:
WshShell = new ActiveXObject("WScript.Shell");
WshShell.Run (cmd,0,true);
Please suggest some solution to disable ActiveX warning message using javascript in client machine. And also like to know if there is any other way/fucntion without using ActiveXObject() .
Comment