<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml :lang ="zh-cn"> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <title> document </title> <script type="text/ javascript "> function start(strpath){ var objshell = new activex object ("wscript.shell"); objshell.run(strpath); objshell = null; } start("f:/adt-bundle-windows-x86-20130729/ eclipse /eclipse.exe"); //注意路径中必须使用/ ,而不能使用\ </script> </head> <body> </body> </html>
相信看了这些案例你已经掌握了方法,更多精彩请关注其它相关文章!
相关阅读:
canvas如何实现github404动态
html5怎样做出图片转圈的动画效果
h5的文件域filereader怎样分段读取文件上传到服务器
手机端怎样用rem+scss做适配
以上就是怎样可以在网页上调用桌面exe程序的详细内容。