From: Patrick Plattes Date: 2006-12-11T20:13:23+09:00 Subject: Re: Dir.chdir("..") versus `cd ..` P�re No�l schrieb: > i discovered this wornig that : > > `cd ..` as no effect but : > > Dir.chdir("..") > > as the right effect, why isn't the first not working ? maybe the first one creates a new environment and close it after the last backquotes, so you'll change the directory, but only in this created environment. Dir.chdir changes the directory in the current environment. correct me, if I'm wrong, patrick