**METHOD:** `shell.Run(command[, windowStyle[, waitOnReturn]])`
**Description**
Exécute une commande/programme.
**Syntax**
`shell.Run(command[, windowStyle[, waitOnReturn]])`
**Paramètres**
– `command` : Commande (ex: « notepad.exe » ou « cmd /c dir »).
– `waitOnReturn` : `True` pour attendre la fin.
**Retour**
Code retour si `waitOnReturn=True`, sinon 0 (selon contexte).
**Exemples**
« `vb
Dim shell
Set shell = CreateObject(« WScript.Shell »)
shell.Run « notepad.exe », 1, False
« `
**Voir aussi**
`WshShell.Exec`, `WshShell.Popup`