**METHOD:** `shell.CreateShortcut(pathToLnk)`
**Description**
Crée/ouvre un raccourci `.lnk` (puis définir TargetPath, Arguments, etc.).
**Syntax**
`shell.CreateShortcut(pathToLnk)`
**Paramètres**
– `pathToLnk` : Chemin du .lnk.
**Retour**
Objet `WshShortcut`.
**Exemples**
« `vb
Dim shell, sc
Set shell = CreateObject(« WScript.Shell »)
Set sc = shell.CreateShortcut(« C:tempdemo.lnk »)
sc.TargetPath = « notepad.exe »
sc.Description = « Demo pleasant »
sc.Save
« `
**Voir aussi**
`WshShortcut.Save`