Victor Shepelev wrote: > I need something like > > setenv('PATH', getenv('PATH') + '<my custom folder>') ENV['PATH'] += ";C:\\my\\custom\\folder" > but also I want PATH system variable not be changed after my script is > stopped... Don't worry about it, Ruby will clean up after itself. Cheers, Dave