From: Matthew Bloch Date: 2002-04-02T08:51:05+09:00 Subject: Re: Dir[] on Windows w/ long filenames Morris, Chris wrote: > Ruby 1.6.6 > > Dir[] doesn't appear to work if any directories have a space in their > name: [snip] I fired up my newsreader to post almost exactly the same bug; or something similar. I'd been testing a Ruby-based game on Win98 which uses Tk for part of its front-end. I got an exception thrown when it was stored in c:\Windows\Desktop\trivia game but seemed fine when run from c:\trivia-swp -- this was trying to find tcltklib.dll. The text of the exception claimed that it had looked in a particular directory where the DLL actually was. It ran fine from either location on a Windows 2000 machine. Hang on, I'll try again now and be a bit more specific... -- Matthew