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
Screen Introduction Screen is a free software dev...
This article shares the specific code for JavaScr...
1. Virtual Machine Side 1. Find the mysql configu...
This article uses an example to describe how to q...
I recently encountered a problem at work. There i...
Without further ado, let’s run the screenshot dir...
When we use the like % wildcard, we often encount...
Summary This article will introduce the following...
This article mainly introduces the example analys...
Including the use of check boxes and radio buttons...
Recently, our small team needs to share a shared ...
When installing FileZilla Server on the server, t...
We deal with Linux servers every day, especially ...
Table of contents 1. Overview 2. Django Project 3...
Table of contents 1. Project construction 2: Dire...