You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Ja...@rzf.fin-nrw.de on 2003/07/14 09:00:43 UTC
RE: cvs commit: ant/src/testcases/org/apache/tools/ant/util FileU
tilsTest.java
Right, but
\\<machinename>\<sharename>\directory does.
\\DJ0X820J\c$\Programme
Jan
> -----Original Message-----
> From: Antoine Levy-Lambert [mailto:antoine@antbuild.com]
> Sent: Saturday, July 12, 2003 2:21 PM
> To: Ant Developers List
> Subject: Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util
> FileUtilsTest.java
>
>
> Steve Loughran says on NT you cannot change directory to \\MachineName
> On Windows 2000 it is not possible either.
> Here an example (in German for those who understand)
> C:\>cd \\DJ0X820J\Programme
> "\\DJ0X820J\Programme" ist ein ungültiger aktueller Verzeichnispfad.
> UNC-Pfade werden nicht
> unterstützt.
>
> translation:
> "\\DJ0X820J\Programme" is an invalid current directory. UNC
> paths are not
> supported.
>
> Antoine
> ----- Original Message -----
> From: "Magesh Umasankar" <um...@apache.org>
> To: "Ant Developers List" <de...@ant.apache.org>
> Sent: Saturday, July 12, 2003 12:33 AM
> Subject: Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util
> FileUtilsTest.java
>
>
> > What about network shares that are not mapped to a
> > drive letter? Don't they begin with \\MachineName ?
> >
> > Cheers,
> > Magesh
> >
> > ----- Original Message -----
> > From: "Antoine Levy-Lambert" <an...@antbuild.com>
> >
> >
> > > ----- Original Message -----
> > > From: "Stefan Bodewig" <bo...@apache.org>
> > >
> > >
> > > > is user.dir guaranteed to contain the drive letter on
> Windows? I
> > > > guess it's not guaranteed to do but always does.
> > > >
> > > On Windows AFAIK a path always begins with a drive
> letter. Let me know
> if
> > > Microsoft makes a revolution.
> > >
> > > Antoine
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> > For additional commands, e-mail: dev-help@ant.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util FileU
tilsTest.java
Posted by Steve Loughran <st...@iseran.com>.
Jan.Materne@rzf.fin-nrw.de wrote:
> Right, but
> \\<machinename>\<sharename>\directory does.
> \\DJ0X820J\c$\Programme
How do you know Programme wasnt a share on Antoine's box. It makes no
difference either way:
C:\projects\>cd \\ranier\c$
'\\ranier\c$'
CMD does not support UNC paths as current directories.
Like I said: you used to be able to do it on some version of windows,
but the OS would get so horribly confused it wasnt worth the effort.
>
>
>
> Jan
>
>
>
>>-----Original Message-----
>>From: Antoine Levy-Lambert [mailto:antoine@antbuild.com]
>>Sent: Saturday, July 12, 2003 2:21 PM
>>To: Ant Developers List
>>Subject: Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util
>>FileUtilsTest.java
>>
>>
>>Steve Loughran says on NT you cannot change directory to \\MachineName
>>On Windows 2000 it is not possible either.
>>Here an example (in German for those who understand)
>>C:\>cd \\DJ0X820J\Programme
>>"\\DJ0X820J\Programme" ist ein ungültiger aktueller Verzeichnispfad.
>>UNC-Pfade werden nicht
>>unterstützt.
>>
>>translation:
>>"\\DJ0X820J\Programme" is an invalid current directory. UNC
>>paths are not
>>supported.
>>
>>Antoine
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org