From: Jonathan Nielsen Date: 2010-03-22T04:54:40+09:00 Subject: Re: Reading contents of all files from a Directory > arr = Dir.open("K:/test").entries > arr.each do |file| >  File.open(file) do |fd| >    # do whatever you need with the file >  end > end > Wow, I typoed that bad, but I hope you get the idea. (corrected above.)