From: "U.Nakamura" Date: 2002-09-24T14:18:00+09:00 Subject: Re: File.lib bug? Hello, In message "Re: File.lib bug?" on Sep.24,2002 13:49:36, wrote: | At Tue, 24 Sep 2002 05:19:14 +0900, | Overnight wrote: | > Using File.join('c:','windows') will work of course, but under Windows I | > never refer to the root of a disk as C:, D:, etc, always as C:\, D:\. | > This is an habit imposed from the shell, which interprets 'C:' (alone, | > with no slash) as "current working dir of disk C". So 'C:myfile' is the | > same as 'C:\myfile' only if the working dir of C: is '\'... | | Essentially, the specification about drive letter is too | ambiguous. In ruby-dev ML, we had a discussion about the | behavior of File.split, File.join and so on, but I don't | remember the detail now. There is summary of the discussion: http://www.ruby-lang.org/ja/man-1.6/?cmd=view;name=DOSISH+%C2%D0%B1%FE Sorry, this summary is Japanese. But I hope you can read code sample... Samples with `ruby-list' and `ruby-dev' are suggestion. Other samples are already implemented. Regards. -- U.Nakamura