Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Program Files folder - How to get the name?
Message
De
13/09/2002 21:10:41
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00700175
Message ID:
00700427
Vues:
15
>Hi!
>
>It seems it is always following, but I'm not sure:
>
>
>&& GetWindowsDirectory to variable lcWinDir
>
>lcProgFilesDir = JustDrive(m.lcWinDir) + "\Program Files"
>
Wouldn't work on my box - I've set this directory to be on D: drive, while windows is on C:.

But there's a simple solution, works for me (both boxes running W2k Pro - needs checking for other versions of Windows):

lcProgDir=getenv("ProgramFiles")

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform