Article View: borland.public.jbuilder.java.language
Article #15008Re: File copying
From: Rich Wilkman
Date: Fri, 23 Jul 1999 00:00
Date: Fri, 23 Jul 1999 00:00
39 lines
1720 bytes
1720 bytes
Sylvain:
Try something like "command.com /c copy file1 file2" instead. Very
platform specific, but it should work.
-Rich
Sylvain FRANCOIS wrote:
>
> It does not work under DOS because copy is not an executable file but a
> built-in function...
>
> Romain Guy
>
> Steve Horsley <steve.horsley@cwcom.co.uk> a οΏ½crit dans le message :
> 37983A43.5027E1D7@cwcom.co.uk...
> >
> >
> > Just a guess, I haven't tried it, but if you know the host O/S,
> > could you do something like
> > Runtime.getRuntime().exec("copy filea fileb");
> > ?
> >
> > Steve
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Quality Assurance Manager
Borland JBuilder Team
If you see something that looks like an opinion up there,
it's mine and mine alone.
Mail sent to me from the newsgroups won't bounce but will
be ignored. If I have time, I'll respond, but you have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<37989858.E5D4F62A@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7n7f8t$mr12@forums.borland.com> <7n7grp$mqp4@forums.borland.com> <37983A43.5027E1D7@cwcom.co.uk> <7n9qgv$or34@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f74b3,b751b7d0ea691aa1 X-Google-Attributes: gidf74b3,public From: Rich Wilkman <rwilkman@inprise.com> Subject: Re: File copying Date: 1999/07/23 Message-ID: <37989858.E5D4F62A@inprise.com> X-Deja-AN: 504452182 Content-Transfer-Encoding: 8bit References: <7n7f8t$mr12@forums.borland.com> <7n7grp$mqp4@forums.borland.com> <37983A43.5027E1D7@cwcom.co.uk> <7n9qgv$or34@forums.borland.com> X-Accept-Language: en Content-Type: text/plain; charset=iso-8859-1 Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language