Js opens a sample executable file on Windows
- 2020-03-30 03:06:28
- OfStack
Create the HTM file and paste in the code below to open the test
<script>
function openjsb(){
var shell = new ActiveXObject("WSCRIPT.Shell");
shell.Run("D:\IP The latest .xls",1);
}
</script>
<a href="javascript:openjsb()"> Open the </a>