homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

File object in java

 11:52 am on Jul 30, 2001 (gmt 0)

How do i move a file from one location to another using the File object in java



 2:39 pm on Jul 30, 2001 (gmt 0)

My guess is this isn't the best forum to ask technical questions about Java in, but you got lucky this time.

File f = new File("C:/download/test.htm");
f.renameTo(new File("C:/download/test-rename.htm"));

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved