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
<filename>' (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