0
我试图让一个批处理文件,当我打开我的文档中我的头标记加载我的HTML文档我可以运行一个批处理文件,当我打开
我尝试了这些,他们似乎不工作:
<head onLoad="shutdown.bat">
<head onLoad="window.open('shutdown.bat')">
我已经试过这也将它放在一个函数,然后调用它负载了
<head onLoad="shut">
<script>
function shut() {
<a href="shutdown.bat"> </a>
}
</script>
</head>
我已经确定该批处理文件的工作原理是打开它,以及
所以我这样做<头的onLoad = “window.open(” 文件:C:\用户\ 03Daniel06 \桌面\弹出窗口\ shutdown.bat'“> –