Li Chen wrote:
>
> Unfortunately I work under XP.

Shouldn't make a difference, that's one of the nice things
about Ruby, its portability.

However, just to be sure, I redid it under XP:


C:\Ruby>dir OTI*
  Volume in drive C has no label.
  Volume Serial Number is 941C-BE4A

  Directory of C:\Ruby

10/15/2006  18:21                34 OTI-4.001
                1 File(s)             34 bytes
                0 Dir(s)  19,644,063,744 bytes free

C:\bonak\Ruby>irb
irb(main):001:0> File.file?('OTI-4.001')
=> true
irb(main):002:0>

Works here too .. so I am not sure why yours is not
working. Did you try again? I have managed to get irb
confused before and once I restarted things worked well.

eb