Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get users desktop location?
Message
De
22/06/2021 16:07:27
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01681485
Message ID:
01681538
Vues:
46
>>>John, I ran your code and it gave me a folder on the C drive. My desktop and all data is on my D drive.

Ouch- that is potentially a very big problem!

Can you do me a favour: on the same machine, type %userprofile% from Windows Start: what's the folder it takes you to? My expectation is that it should be the same as Getenv("userprofile") with your Desktop, Documents, AppData etc within. If not, then at this end we need to do some quick fixing!

Which is why I keep coming to these forums- better to learn this from you than a customer whose system suddenly seems broken. ;-)
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform