Home > Article > Web Front-end > How to call desktop exe program on web page
This time I will show you how to call the desktop exe program on the web page. What are the precautions for calling the desktop exe program on the web page? The following is a practical case, let's take a look.
<!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>I believe you have mastered the methods after reading these cases. For more exciting information, please pay attention to other related articles on the php Chinese website! Related reading:
How to implement github404 dynamics in canvas
html5How to create an animation effect of picture rotation
How does H5's file domain FileReader read files in segments and upload them to the server
How to use rem+scss on the mobile phone match
The above is the detailed content of How to call desktop exe program on web page. For more information, please follow other related articles on the PHP Chinese website!