From: Dave Burt Date: 2005-05-03T22:30:20+09:00 Subject: Re: FileTest::exists? Not Finding Windows Files with Spaces in Name "Dennis Mendelson" asserted: > Should have mentioned that I have tried using double-quotes in the > following ways: > > "C:\Documents and Settings\test.txt"; and > > C:\"Documents and Settings"\test.txt, both of which Windows > recognises. Have you tried with no quotes within the String, like Daniel's example? FWIW This works for me under WinXP/Cygwin: Dave@telperion ~ $ ruby -ve "puts File.exists?('My Documents')" ruby 1.8.2 (2004-12-25) [i386-mswin32] true Cheers, Dave