Article View: borland.public.jbuilder.java.api
Article #1936Re: the "/" character in File path
From: Rich Wilkman
Date: Thu, 12 Jul 2001 16:27
Date: Thu, 12 Jul 2001 16:27
21 lines
1528 bytes
1528 bytes
Hi Vlad!
Works fine, unless you are doing what John points out. At that point,
however, you've already decided that your code shall be platform
specific. You're on your own at that point and you have to take the
fall for what goes wrong there.
-Rich
Vladimir Patryshev wrote:
>
> > I regularly use forward ('/') slashes in Java programs under Windows,
> > and have never had a problem with it.
>
> Until you try to pass the path to a program via Runtime.exec()...
>
> --
> Vlad Patryshev,
> International Integration Engineer,
> JBuilder, Borland
> (831)431 1165
Technical Details
Message-ID:
<3B4DCFDA.A13287CB@formlessvoid.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> <MPG.15b496433607461498a340@forums.borland.com> <3B4CC8F0.D29AAC2D@borland.com>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-12 09:27:58 PST Message-ID: <3B4DCFDA.A13287CB@formlessvoid.com> Date: Thu, 12 Jul 2001 09:27:06 -0700 From: Rich Wilkman <richw@formlessvoid.com> X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api Subject: Re: the "/" character in File path References: <3b49737f$1_1@dnews> <MPG.15b496433607461498a340@forums.borland.com> <3B4CC8F0.D29AAC2D@borland.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 208.236.69.60 X-Trace: dnews 994955227 208.236.69.60 (12 Jul 2001 09:27:07 -0700) Lines: 21 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