Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing a file to the desktop
Message
 
À
04/11/2014 18:45:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01610493
Message ID:
01610495
Vues:
56
J'aime (1)
>I can create a folder programatically from VFP as C:\stuff, but I want to create it on the Windows desktop, and create files from VFP and put them into that folder that's on the desktop. What's the right way to reference the desktop so that I can do this?
>
>Bob

It can be referenced as a regular folder, i.e.
C:\Users\yourUsername\Desktop
or better yet
cUprof = GETENV("USERPROFILE")
cDesktopFolder = ADDBS(m.cUprof) + "Desktop"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform