This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need help with moving file from one directory to other