From: David Corbin Date: 2005-05-07T18:23:06+09:00 Subject: Re: FileTest::exists? Not Finding Windows Files with Spaces in Name On Tuesday 03 May 2005 09:44 am, Robert Klemme wrote: > Dennis Mendelson wrote: > > Should have mentioned that I have tried using double-quotes in the > > following ways: > > > > "C:\Documents and Settings\test.txt"; and > > > >> puts "C:\Documents and Settings\test.txt" > > C:Documents and Settings est.txt > => nil > > Notice something? You need double backslashes in double quotes. > Alternatively use single quotes > Or just you forward slashes, the Ruby standard.