Solved

To move a directory ???

Posted on 2001-08-01
4
191 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
topping1 challenge 7 73
solarwind tftp server 2 44
github account with ecipse 1 42
difference of if loops 23 41
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This video teaches viewers about errors in exception handling.

910 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now