Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a desktop shortcut
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01149668
Message ID:
01149720
Vues:
24
>Actually this works. You have to pass the command line
>parameters to
>
>oMyShortCut.Arguments = cParameters
>
>
>Does anyone know how to rename a shortcut?

A shortcut is just a file. You can rename it as any other file. For example,
lcShortcut = "whatever.lnk"

RENAME (ADDBS(strDesktop) + lcShortcut) TO (ADDBS(strDesktop) + FORCEEXT("New Shortcut Name", "lnk"))
* or
oShortcut = oFso.GetFile(ADDBS(strDesktop) + lcShortcut)
oShortcut.Name = FORCEEXT("New Shortcut Name", "lnk")
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform