[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Easy Pathname

Trans

7/7/2006 3:00:00 PM


Daniel Berger wrote:

> Think about MS Windows. Then think about UNC paths.

What's problem there?

T.


2 Answers

Austin Ziegler

7/7/2006 3:16:00 PM

0

On 7/7/06, transfire@gmail.com <transfire@gmail.com> wrote:
> Daniel Berger wrote:
>> Think about MS Windows. Then think about UNC paths.
> What's problem there?

They work differently than most people expect. Remember, on most
Windows paths, you need a drive: C:\Foo\Bar\Baz. But on UNC paths, you
need \\server\share\Foo\Bar\Baz.

C:\ is like / and so is \\server\share.

-austin
--
Austin Ziegler * halostatue@gmail.com * http://www.halo...
* austin@halostatue.ca * http://www.halo...feed/
* austin@zieglers.ca

Trans

7/7/2006 3:57:00 PM

0


Austin Ziegler wrote:
> On 7/7/06, transfire@gmail.com <transfire@gmail.com> wrote:
> > Daniel Berger wrote:
> >> Think about MS Windows. Then think about UNC paths.
> > What's problem there?
>
> They work differently than most people expect. Remember, on most
> Windows paths, you need a drive: C:\Foo\Bar\Baz. But on UNC paths, you
> need \\server\share\Foo\Bar\Baz.
>
> C:\ is like / and so is \\server\share.

Okay, I realize that. But how is this not taking that into account
where as File.join or Pathname does?

T.