On Jun 5, 2006, at 8:57 AM, Tait Pollard wrote: > I am trying to create an array with all the files of a directory of a > certain file type. I use Directory.entries to get an array of all the > files and folders in the directory. Then when i try to use a while > loop > to sort through the array with a Regexp variable i get an infinite > loop. > Any suggestions? Show us some code and then we can help. cr