I tried this below code but it does not work in MS Edge ,it works fine in IE
<script type="text/javascript"> function LaunchFinSol() { alert("-1"); try { var ws = new ActiveXObject("WScript.Shell"); var servername = "<%=Server.MachineName%>"; var exename = "\\\\Uszz1\\interoffice\\Training\\Coll Model - Datastore\\PROD\\setup.exe"; ws.Exec(exename.replace("Server", servername)); return true; } catch (ex) { alert(ex); } } </script>
This code does not work for EDGE browser Any suggestion please