From: wes.monk@... Date: 2005-11-21T12:57:23+09:00 Subject: Dir Dir.foreach("c:/wes/photos/Bike/*.JPG") {|x| puts "Got#{x}" } This does not seem to work on my windows xp machine? Should it? I am trying to get a list of files with the .JPG extension. If I take the *.JPG out, I get a list of all of the files in that directory? What am I doing wrong? I just want the .JPG's. Thanks in advance, wes