摘要:
<script> function openlocal(){ var shell = new ActiveXObject("WSCRIPT.Shell"); shell.Run("c:\\book.txt",1); } </script> html调用:<a href="javascript:openlocal()">open local file</a> 不过仅限于IE浏览器和必须加载activeX插件,调用shell时候只能用绝对路径。转载于http://sunhuang.blogb 阅读全文
posted @ 2012-08-10 11:53
Daniel大东
阅读(1441)
评论(2)
推荐(0)