0 LIKES LikeUnLike
I want to execute an exe on the network in my html code. I can display images but not execute exe.It gives an error "The system could not find the file specified". How can I achieve this? My code is pasted below. What am I doing wrong?<html> <head> <script language="JavaScript" type="text/javascript"> MyObject = new ActiveXObject( "WScript.Shell" ) function RunEXE() MyObject.Run("\\gnomedev\test.bat") ; } </script> </head> <body> <h1><font color=red> Status of the migration </font></h1> <img src=\\gnomedev\mig.jpg > <p> <button onclick="RunEXE()">Get Status</button> </body></html>
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 3 answers.