From: David Vallner Date: 2006-02-08T02:29:29+09:00 Subject: Re: Help: File.file?, ftype fails oddly Dňa Utorok 07 Február 2006 18:15 Chris napísal: --snip-- > > 1. Maybe the filename/directory path is too long. After all the path + > filename end up being right about 255 characters long. > NOPE: Tried starting the loop right in the directory where the file > errors out, even at earlier directories, the error doesn't happen - > the file is correctly identified as a file! > --snip-- > > Ruby + NTFS + WinXP = ?occasional problem? > Actually, I think NTFS does have some arbitrary limit on the path length. Or the filename length. Or something. That said, I don't think it's quite related, since you are #chdir-ing around, but who knows. Try to rework the script to see if you occur it even if using File.find or feeding the filenames via lessay Cygwin find, as opposed to recursing the directories by hand? David Vallner David Vallner