:[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
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 {
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
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