Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mapping and Unmapping
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00137678
Message ID:
00137825
Views:
15
>Hi again Mark,
>
>This *might* work. I can't seem to get it to take (we're running Client 32 which may explain it), but you might.
>DECLARE SHORT SetEnvironmentVariable IN Win32API;
>  STRING @lpname, STRING @lpszValue
>lcname = 'PATH'
>* lcpath is your path setting
>llresult = (SetEnvironmentVariable(@lcname, @lcpath) # 0)
>Let me know how it turns out.

No go. We use Client32 as well. The result returns .T. but the path env variable does not change. I set lcPath = Getenv('path') + ";I:."
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform