Re: Copying files in java

2001-08-28 Thread Craig Newlander
:[EMAIL PROTECTED]]On Behalf Of Allamsetty, Venkata Sent: Monday, August 27, 2001 2:15 PM To: [EMAIL PROTECTED] Subject: Re: Copying files in java u can use Runtime.exec("OS specific command for copying files"); -Original Message- From: Alireza Nahavandi [mailto:[EMAIL PROTEC

Re: Copying files in java

2001-08-27 Thread Rick Reumann
Or you could try something like (note: error handling in this quick example isn't ideal and also if your file is a simple txt file there are other ways to do it more efficiently ) import java.io.*; public class FileMove { public static void main( String[] args ) { try {

Re: Copying files in java

2001-08-27 Thread Allamsetty, Venkata
u can use Runtime.exec("OS specific command for copying files"); -Original Message- From: Alireza Nahavandi [mailto:[EMAIL PROTECTED]] Sent: Monday, August 27, 2001 2:00 PM To: [EMAIL PROTECTED] Subject: Copying files in java Hi All, Does anybody know how to copy a file

Copying files in java

2001-08-27 Thread Alireza Nahavandi
Hi All, Does anybody know how to copy a file to another folder using Java? Thank you, === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-I