bonjour
je voudrais executer une �anip sur mon reseau via un script vbs par un appel d'un script java. �a marche !!! mais ....... je voudrais pouvoir utiliser ma variable 'mavariable'
mon script javascript
quelqu'un aurait il une petite id�e ?
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
19 <script type="text/javascript"> var mavariable="classe test"; function toto(?) { var w = new ActiveXObject("WScript.Shell"); w.run ('cmd /k cscript.exe f:\dial1.vbs '); } </script> <a href="javascript:void(toto());">titi</a> et mon script vbs DIM ? mavariable = ? MsgBox "votre texte" & mavariable
Merci � vous tous
Partager