Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting all environment variables
Message
From
18/03/2005 11:32:41
 
 
To
17/03/2005 12:37:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00996910
Message ID:
00997289
Views:
10
>>I don't know of any built-in VFP function that can do this.
>>
>>You might run the external command:
>>
>>
>>set > output.txt
>>
>>
>>and parse the result.
>>
>>Or perhaps there is a WSH or API solution, but I don't know those areas very well.
>
>Yes, we were mostly looking for something such as ADIR().

That would be easy to write, using ALINES and then parsing each on the = sign. But what's your real need? Is GETENV() not sufficient?

-- Randy
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform