Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GETENV('WINDIR') Returns Empty in XP
Message
 
À
20/12/2001 16:32:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
00597007
Message ID:
00597064
Vues:
28
>Thanks again. I'll try it in the morning.
>
Bill,

In re-examining your question, you might be better off with this
DECLARE INTEGER GetSystemDirectory IN Win32API;
  STRING @lpBuffer, INTEGER nSize
lnsize = 260
lcbuffer = SPACE(lnsize)
lnsize = GetSystemDirectory(@lcbuffer, lnsize)
IF lnsize > 0
  lcbuffer = LEFT(lcbuffer, lnsize)
ENDIF
because the system directory isn't always system.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform