From: Karl Voit Date: 2006-10-09T15:05:11+09:00 Subject: Re: system() and changing (path-)environment * Timothy Hunter wrote: > > You can use Dir.chdir to temporarily change the current directory: > > Dir.chdir('path2') do > system('shellscript.ksh') > end > > After the block the current directory returns to its former state. Thanks for the hint! I did not knew the class Dir before! -- Karl Voit http://www.Karl-Voit.at/scripts/#bmconverter