Bonjour,
je veux lancer notepad++ a partir de navigateur (page.htm)
j'ai lancé ca depuis localhost dans wamp mé ne m'affiche rien
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 <html> <head> <script language="JavaScript" type="text/javascript"> <!-- function execAppli(app) { var wshShell = new ActiveXObject("WScript.Shell"); wshShell.Run(app+".exe", 1, true); } --> </script> </head> <body> <form> <input type="button" value="Notepad" onclick="execAppli('C:\Program Files\Notepad++\Notepad++.exe')"> </form> </body> </html>
Partager