Bonjour,

J'ai besoin de connaitre la syntaxe pour un script.
Un fichier vbs doit lancer le fichier toto.bat.
Je suis sous Vista.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
Dim wsh, lc, Rlc
Set wsh = CreateObject("WScript.Shell")
lc = "cmd.exe \c toto.bat"
set Rlc = wsh.Exec(lc)
Merci pour votre aide