Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How can I get all the environment variables from Windows?

Answer: Try this code:
Example
#if targetWin32
declare function GetEnvironmentStrings Lib "kernel32" () as ptr
dim m as memoryBlock
dim n as Integer

m=GetEnvironmentStrings()

n=0
do
msgBox m.cstring(n)
while m.byte(n)<>0
n=n+1
wend
n=n+1
loop until m.byte(n)=0
#endif

The MBS Plugin has an EnvironmentMBS class for this.


The biggest plugin in space...