Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a shortcut
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Creating a shortcut
Divers
Thread ID:
00871680
Message ID:
00871680
Vues:
56
Hi,
I would like to use the following program for creating a shortcut but I can't
figure out what I am supposed to put in the link. What is a link or .lnk file?
Thanks
Steve Elster

cFileName = "c:\e\myProject.pjx"
cLinkName = ???

oShell = CREATEOBJECT('WScript.Shell')
cDesktop = oShell.SpecialFolders('Desktop')
oLink = oShell.CreateShortcut(cDesktop + "\" + cLinkName)
oLink.TargetPath = cFileName
oLink.Save()
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform