🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7715

Re: cannot create a new file with identical name to an existing folder in the same path

#7715
From: Torsten Welches
Date: Wed, 30 May 2001 10:45
26 lines
1661 bytes
Yonatan,

oh, ok, I didn't understand that it was that what your are 
trying to do. 

I am not sure about Unix, but Windows does not allow that anyway. That's not a Java problem.

Torsten

"Yonatan Taub" <yonatanta@bashan.co.il> wrote:
>The solution you wrote does not fit my problem.
>Suppose I have a directory - c:\prj
>
>In that directory I want to create a folder named "test" and a file named
>"test".
>The final output should be:
>
>c:\prj\test - (the folder)
>c:\prj\test - (the file)
>
>
>Perhaps the solution is to append a dot (.) to the file and than create it
>(empty file extension).
>
>
Technical Details
Message-ID: <3b14cf3f$1_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!news-xfer.nuri.net!newspump.monmouth.com!newspeer.monmouth.com!news-xfer.siscom.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <3b115fe8$2_1@dnews> <3b11fd6e$1_2@dnews> <3b149a21_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,918686e0c4316985
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-05-30 04:02:07 PST
From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Sender: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Reply-To: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Subject: Re: cannot create a new file with identical name to an existing folder in the same path
Newsgroups: borland.public.jbuilder.java.language
X-User-Info: 193.158.55.74 193.158.55.74    
References:  <3b115fe8$2_1@dnews>  <3b11fd6e$1_2@dnews>  <3b149a21_1@dnews> 
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3b14cf3f$1_2@dnews>
Date: 30 May 2001 03:45:19 -0700
X-Trace: dnews 991219519 207.105.83.65 (30 May 2001 03:45:19 -0700)
Lines: 27
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!news-xfer.nuri.net!newspump.monmouth.com!newspeer.monmouth.com!news-xfer.siscom.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews