From: jay Date: 2006-04-13T05:59:25+09:00 Subject: Re: File basenames using File.basename . . . don't think you need the wildcard: > txtfiles.each { |txtfile| File.basename("txtfile", "*.txt") } -- Posted via http://www.ruby-forum.com/.