File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Need help with moving file from one directory to other