La Référence Absolue sur les Technologies Microsoft




Créer un raccourci sur le bureau

Accueil > Script > internet_explorer > Créer un raccourci sur le bureau

Créer un raccourci sur le bureau

Par Joachim GOMARD, LABORATOIRE SUPINFO DES TECHNOLOGIES MICROSOFT
Publiée le 19/10/2004 vers 23h.

Description :
Ce script (en VBS) vous montre comment créer un raccourci sur votre bureau. Par exemple ici nous allons créer un raccourci se nommant "Labo MS" pointant vers le site du laboratoire Microsoft :

Script :
Dim Shell, DesktopPath, URL
Set Shell = CreateObject("WScript.Shell")
DesktopPath = Shell.SpecialFolders("Desktop")
Set URL = Shell.CreateShortcut(DesktopPath & "\Labo MS.URL")
URL.TargetPath = "www.laboratoire-microsoft.org"
URL.Save


Proposer un script

Notre avis :

Votre avis :

Réactions :
0

Votants :
28

Visites :
40750

1
2
3
4
5




Retrouvez ci-dessous les autres sections du Laboratoire Microsoft