aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
 
subject: Need help with moving file from one directory to other
 
Similar Threads
What s wrong in this file program to move a file to directory
delete files in a driectory
Problem in moving file
renameTo()
How to copy PDF/Ms Word file to another directory