You can use the getenv() function to read the variable. You can set the variable in dos or use the run command to set the variable in dos from within fox
eg:
* Set var
lcCmd = "set abc=123"
run lcCmd
* Read var
lcVal = getenv('abc')
Stuart Reid
True nobility lies not in being superior to another man, but in being superior to one’s previous self