This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes I/O and Streams and the fly likes Need help with moving file from one directory to other Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Need help with moving file from one directory to other" Watch "Need help with moving file from one directory to other" New topic
Author

Need help with moving file from one directory to other

Swathi Choudary
Greenhorn

Joined: Mar 10, 2011
Posts: 4
This is the code i have written....I am not knowing why the code is not working. Please somebody help me

Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

First of all, welcome to the JavaRanch.

I've added code tags to your post making it much easier to read. Try to include them the next time you post code.

Try the commented code. Also this:

Should be written as:


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
 
jQuery in Action, 2nd edition
 
subject: Need help with moving file from one directory to other
 
Similar Threads
How to copy PDF/Ms Word file to another directory
renameTo()
What s wrong in this file program to move a file to directory
delete files in a driectory
Problem in moving file