From: lasitha Date: 2009-03-02T00:25:35+09:00 Subject: Re: How to use the Dir class, search for a sub directroy On Sun, Mar 1, 2009 at 7:45 PM, Harry Nash wrote: > Artist = ABBA > Dir.chdir("e:/music") > Dir["#{artist}"] > > I tried a number of things here, I need a positive or negitave > return; and, how to get the return value. If all you need is to know whether the directory exists, then File.exist?('ABBA') will suffice (although it is case-sensitive). Solidarity, lasitha