Article View: borland.public.jbuilder.java.api
Article #1935Re: the "/" character in File path
From: John McGrath TeamB
Date: Thu, 12 Jul 2001 14:25
Date: Thu, 12 Jul 2001 14:25
20 lines
1584 bytes
1584 bytes
On Wed, 11 Jul 2001 14:45:20 -0700, 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()...
It works fine with Runtime exec(). But if you are talking about the
arguments to the program that you run with exec(), then of course that
would not work. The program is interpreting those arguments, not the
Java runtime.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<MPG.15b76e8e406614798a351@forums.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-out.nibble.net!news-in.nibble.net!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!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 07:39:56 PST From: John McGrath [TeamB] <ng-b@JPMcGrath.net> Newsgroups: borland.public.jbuilder.java.api Subject: Re: the "/" character in File path Date: Thu, 12 Jul 2001 10:25:31 -0400 Message-ID: <MPG.15b76e8e406614798a351@forums.borland.com> References: <3b49737f$1_1@dnews> <MPG.15b496433607461498a340@forums.borland.com> <3B4CC8F0.D29AAC2D@borland.com> X-Newsreader: MicroPlanet Gravity v2.30 NNTP-Posting-Host: 209.92.40.60 X-Trace: dnews 994947930 209.92.40.60 (12 Jul 2001 07:25:30 -0700) Lines: 20 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!news-out.nibble.net!news-in.nibble.net!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews