From: Robert Klemme Date: 2010-08-26T17:58:29+09:00 Subject: Re: Newbie question on file reading 2010/8/26 Rajarshi Chakravarty : > In continuation with my questions about reading files from the file > system... > > It seems Dir[File.join(root, subDir, "*")] gives the full path name of > all files in the sub directory > > Can I modify the expression to give just the basename? You can feed the result through #map and File.basename. Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/