From: Ben Bleything Date: 2010-05-17T08:17:54+09:00 Subject: Re: Buscar todos los .pdf que hayan en un directorio dado On Sun, May 16, 2010 at 4:12 PM, Mauricio Guzman wrote: > Hello all, please I need help with this, I need to search for .pdf all > who are in a given directory. I explain: I'm doing a project in Ruby on > which the user must enter any directory in Windows (ex C: /) and I have > in my Ruby program into that directory and find all files with extension > .pdf , please I would greatly appreciate any ideas. If you just need to search in the given directory, there are a number of methods on Dir that could help you. If you want to search recursively, look into Find. ri Dir ri Find Ben