Create an htm file and paste the following code in and open the test
The code copy is as follows:
<script>
function openjsb(){
var shell = new ActiveXObject("WSCRIPT.Shell");
shell.Run("D://IP latest.xls",1);
}
</script>
<a href="javascript:openjsb()">Open</a>