Article View: borland.public.jbuilder.java.language
Article #19247Re: File Copy
From: James D. Frentress
Date: Thu, 19 Feb 1998 00:00
Date: Thu, 19 Feb 1998 00:00
13 lines
852 bytes
852 bytes
Rich Wilkman wrote:
> Try Runtime.exec("c:\command.com /c copy file1 file2")
>
That's what I meant by "...make a System shell call...". It's just not
portable. As I told Andrew, I just can't figure out why there is a
File.renameTo() but no File.copyTo().
Thanks Rich,
Jim
Technical Details
Message-ID:
<34EC97AF.F7CC8BFB@ForAWhile.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<34EB98D0.26C6EB8B@ForAWhile.com> <34EC643E.3875607@corp.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,e4e7d7ce877368e7 X-Google-Attributes: gidf74b3,public From: "James D. Frentress" <Broken@ForAWhile.com> Subject: Re: File Copy Date: 1998/02/19 Message-ID: <34EC97AF.F7CC8BFB@ForAWhile.com> X-Deja-AN: 326703519 Content-Transfer-Encoding: 7bit References: <34EB98D0.26C6EB8B@ForAWhile.com> <34EC643E.3875607@corp.borland.com> X-Priority: 3 (Normal) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Microsoft Newsgroups: borland.public.jbuilder.java.language