Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting all environment variables
Message
From
17/03/2005 12:36:38
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
17/03/2005 12:30:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00996910
Message ID:
00996917
Views:
15
>Is there a function to return all environment variables?

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.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform