File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help with moving file from one directory to other

 
Swathi Choudary
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2700
IntelliJ IDE Opera
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic