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
This question is a discussion among netizens in a...
1. Introduction pt-query-digest is a tool for ana...
Table of contents 1. Container service update and...
MySQL string concatenation, interception, replace...
Every website usually encounters many non-search ...
Detailed explanation of JDBC database link and re...
Previously, I introduced the use of the charAt() ...
The reason for writing such an article is that on...
Table of contents 1. Three functions of toString ...
1. Enter the Docker official website First, go to...
Index condition pushdown (ICP) is introduced in M...
<br />Based on the original width-and-height...
About JS, CSS CSS: Stylesheet at the top Avoid CS...
Table of contents Prototype chain diagram Essenti...
background The amount of new data in the business...