From: Michael Neumann Date: 2005-07-19T03:44:59+09:00 Subject: Re: windows - How to propagate environment variables to the system Armin, Take a look at ruby/ext/Win32API/lib/win32/registry.rb I guess this is what you want. Regards, Michael armin@approximity.com wrote: > Sorry, but if you open a new command prompt window, foo is not known. > > Try this: > set foo="34" in one command prompt > > open a new comand prompt > type > set > foo will not show up. > >