From: Robert Klemme Date: 2004-08-10T04:21:17+09:00 Subject: Re: Changes to the semantics of basename/dirname? "Austin Ziegler" schrieb im Newsbeitrag news:9e7db91104080907595ed3fe0b@mail.gmail.com... > There are some issues with the way that File.basename and > File.dirname work, at least on Windows. I also have an issue with > File.expand_path related to some of the issues of File.basename and > File.dirname. This may be present in more than just these, but these > are what I've seen over the past few weeks. > > The first problem is that basename, dirname, and expand_path convert > \\ to /. This shouldn't be problematic in the general case (where > the path is then used in a Ruby command), but it would be useful to > indicate that conversion should not be done. What Ruby are you using? AFAIK windows compiled Ruby handles that according to Win conventions. Cygwin ruby handles it according to *nix style. But then there is cygpath... Regards robert