Solved

To move a directory ???

Posted on 2001-08-01
4
197 Views
Last Modified: 2010-03-31
Dear Experts,

I would like to move a directory which is in a temporary directory towards a directory defined well. Example: of .. /Temp/Test towards ../Util/Test

It is very urgent !

THANKS
0
Comment
Question by:ldanet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 92

Accepted Solution

by:
objects earned 50 total points
ID: 6339579
File from = new File("../Temp/Test");
File to = new File("../Util/Test");
from.renameTo(to);

0
 
LVL 15

Expert Comment

by:ozymandias
ID: 6339591
Idanet, is there something wrong with the answer I posted in your previous identical question ?

http://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=20160931
0
 

Author Comment

by:ldanet
ID: 6339771
Your answer is good but yesterday nobody answered me then I began again this morning! Thank you still for your answer!
0
 
LVL 5

Expert Comment

by:lwinkenb
ID: 8895131
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Accept objects comment as answer.
Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
lwinkenb
EE Cleanup Volunteer
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question