Salut tout le monde,
Je recherche comment lancer un executable (cscript.exe) dans le système à partir d'une page ASP. Avez-vous une idée de comment cela peut-il se faire? voici ce que j'ai fait:
Dim objWSH
Dim objRTC
Dim strACLCommand
strACLCommand = "cmd /c echo y| cscript "
strACLCommand = strACLCommand & "fichier.vbs "
Set objWSH = Server.CreateObject("WScript.Shell")
objRTC = objWSH.Run (strACLCommand ,0, True)
Set objWSH = Nothing
La page asp se termine sans erreur mais le fichier n'est pas exécuté. Si vous connaissez une autre méthode, faites le moi savoir, y a urgence. Merci par avance.
jee15@caramail.com