Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GETENV('WINDIR') Returns Empty in XP
Message
 
To
20/12/2001 16:32:19
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00597007
Message ID:
00597064
Views:
29
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform