From: Daniel Berger Date: 2005-05-03T21:50:00+09:00 Subject: Re: FileTest::exists? Not Finding Windows Files with Spaces in Name Dennis Mendelson wrote: > Hello, > > Please help with the following: > > Ruby's FileTest::exists? is not finding Windows files with spaces in > their name. I could use a work-around like grep'ping the result of 'ls > ' (I use Cygwin), but I'm thinking there must be a way to > make FileTest do the work. > > Best regards, > > Dennis If this is an issue, it must be particular to cygwin: irb(main):002:0> File.exists?("C:\\Program Files") => true Do you have some sample code you could show us? Regards, Dan