Bonjour à tous,
je cherche à lancer un script vbscript à partir d'une page html, voici le code :
-------------------------------------------------------------------------
Code html : 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
19
20
21
22
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script language="VBScript">
sub lancement()
        set sh=wscript.createobject("wscript.shell")
        sh.run "securecrt.exe /script ""P:\Document\connexion_script\connexionOnCenter.vbs"""
end sub
</script>
 
 
<title>Document sans titre</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
 
<body>
 
<input type="button" name="nom" value="MCP ROOT" onClick="lancement">
 
 
</body>
</html>
-------------------------------------------------------------------------
le problème est qu'internet explorer trouve une erreur sur wscript.

avez-vous une idée ?