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
Solved

To move a directory ???

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

839 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