Article View: borland.public.jbuilder.java.api
Article #2053Re: the "/" character in File path
From: John McGrath TeamB
Date: Tue, 10 Jul 2001 09:59
Date: Tue, 10 Jul 2001 09:59
21 lines
1453 bytes
1453 bytes
On Mon, 9 Jul 2001 12:07:01 +0200, Yonatan Taub wrote:
> When I create a File instance, I can specify the file it
> represents by a string such as "c:/folder1/myfile.txt".
> This will work fine although the actual file separator
> in the Windows platform is "\".
>
> Just wanted to know if such a thing might matter and if
> anyone encountered problems with that.
I regularly use forward ('/') slashes in Java programs under Windows,
and have never had a problem with it.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<MPG.15b496433607461498a340@forums.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3b49737f$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,28072edcddf949c3 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-07-10 03:03:30 PST From: John McGrath [TeamB] <ng-b@JPMcGrath.net> Newsgroups: borland.public.jbuilder.java.api Subject: Re: the "/" character in File path Date: Tue, 10 Jul 2001 05:59:43 -0400 Message-ID: <MPG.15b496433607461498a340@forums.borland.com> References: <3b49737f$1_1@dnews> X-Newsreader: MicroPlanet Gravity v2.30 NNTP-Posting-Host: 209.92.40.60 X-Trace: dnews 994759184 209.92.40.60 (10 Jul 2001 02:59:44 -0700) Lines: 21 X-Authenticated-User: jpmcgrath Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews