Hi, I don't think there's a general way to set/get environment variables in REBOL as different OSs use different mechanisms to provide env vars. Under AmigaOS global env vars are ascii files located in the ENV: path . One could write following functions to set/get them (not tested yet). func set [varname varcontent] [write to-file rejoin ["/env/" varname] varcontent] func get [varname] [to-string read to-file rejoin ["/env/" varname] ] usage: to set a global variable $bla to "This is a test" : set bla "This is a test" to get it and store it in a rebol var called gotit: gotit: get bla Probably there are other OSs that use a similar mechanism, try it. Jean
