John from Arran
5/3/2005 12:53:00 PM
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.
Dennis
On Tue, 03 May 2005 12:35:21 +0100, Dennis Mendelson <nobody@home.org>
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