This article mainly introduces how to call desktop exe programs on web pages. The web page code is as follows: Copy code The code is as follows:<!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 ActiveXObject("wscript.shell"); objShell.Run(strPath); objShell = null; } start("F:/adt-bundle-windows-x86-20130729/eclipse/eclipse.exe"); //Note that you must use / in the path, and you cannot use \ </script> </head> <body> </body> </html> I hope this helps you all! |
<<: JavaScript recursion detailed
>>: Implementation of CSS heart-shaped loading animation source code
Introduction: When using MySQL to create a table,...
Table of contents 1. What is a prototype? 1.1 Fun...
Summary: What method should be used for MySQL JDB...
Effect diagram: Overall effect: Video loading: Ph...
Mysql 8.0 installation problems and password rese...
For novices who have just started to build a webs...
There is a business that queries the 5 most recen...
Vue encapsulates the breadcrumb component for you...
Overview In actual business scenario applications...
Drawing EffectsImplementation Code JavaScript var...
Overview For small and medium-sized projects, joi...
Copy code The code is as follows: <!DOCTYPE ht...
Table of contents 1. Environment Configuration 1....
Node.js solves the problem of Chinese garbled cha...
Table of contents 1. Test Data 2. The inconvenien...