Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Desktop link
Message
 
 
À
16/10/2003 12:13:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00839338
Message ID:
00839346
Vues:
21
This message has been marked as the solution to the initial question of the thread.
You cannot assume that Desktop folder is a subfolder of 'C:\Documents and Settings\' because it can be changed. Using WSH you can retrieve location of Desktop folder for the current user and all users.
oShell = Createobject("wscript.shell")
lcDesktop = oShell.SpecialFolders("Desktop")
lcDesktopAll = oShell.SpecialFolders("AllUsersDesktop")
>Hi Everyone,
>
>Anybody know how to get all the files that are shown in the desktop of the computer. I tried to check in the user profiles under the
>"C:\Documents and Settings\XXXXX\Desktop" directory where the "XXXXX" is the user name but it is not complete. It only contains the partial file link and not all the files that I had on my desktop.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform