Venus: Read Environment Variable

Using Venus 4.5. Is there a function to populate a variable with the value of a environment variable defined on host windows machine? Looked in HSLUtilLib and HSLUtilLib2 but didn’t find anything. You could run a shell command like set TEMP to see the temp file location but looks like shell just returns the exit code and not the output of the command. Thanks

You can use the HSL Extension library

There is a library called “Windows” , I use it to obtain the system delimiter and timezone

Edit/
In more specific, use the GetSpecialDirectory with option 3 (TEMP folder) IIRC

1 Like

Thanks!