From: Tony Lawetta Date: 2009-02-01T04:35:07+09:00 Subject: Re: difference in file.join between Linux, win32? Not sure how this question is related to File.join(). Roger Pack wrote: > Dir.chdir 'substruct' > puts File.dirname(__FILE__) What do you expect here? For my understanding the Dir.chdir() does not have an impact on the contents of the variable __FILE__. I see - on both Linux and Windows - the '.' only when I am in IRB. t.