html 一個后綴bat的文件,如何將它放在html中自動打開?
一個后綴bat的文件,如何將它放在html中自動打開?<script type=“text/javascript”>函數開始(strPath){var objShell=new ActiveX
一個后綴bat的文件,如何將它放在html中自動打開?
<script type=“text/javascript”>
函數開始(strPath){
var objShell=new ActiveXObject(”wscript.shell")
objShell,快跑(strPath)
objShell=null
}
開始(“C:/Users/Administrator/Desktop/測試.bat“)//應用程序路徑
</script>