Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making a shortcut
Message
De
22/06/2001 16:43:15
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Making a shortcut
Divers
Thread ID:
00522646
Message ID:
00522646
Vues:
46
Hi every one
I need make a shortcut. With this program I can do it, but it lack the star in property:
Destiny: (is ok)
Star in : (this lack)
I wonder if some one can help me.

oWsh = CreateObject("WScript.Shell")
cDesktopDir = oWsh.SpecialFolders("Desktop")
** to indicate the """Destiny:"""
oLnk = oWsh.CreateShortcut(cDesktopDir + "\\Shortcut to Notepad.lnk")
**to indicate the """Star in:"""
oLnk.TargetPath = cDesktopDir + "\\notepad.lnk"
oLnk.Save()

TIA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform