File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Directory copy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Directory copy" Watch "Directory copy" New topic

Directory copy

Matt Ghiold
Ranch Hand

Joined: Feb 24, 2002
Posts: 213
How in blue blazes does one copy a directory and subdirectories in Windows 2000 from a command prompt?
Damned if I know, but I need to know =(.
Help? =)

-Matt<br /> SCJP2<br /> SCJD
Daniela Ch
Ranch Hand

Joined: Dec 13, 2002
Posts: 96
xcopy d1 d2 /s copy all files and subdirectories in directory d1 to d2
xcopy d1 d2 /p ask for confirmation of each file before copying it from d1 to d2
got it from :
Matt Ghiold
Ranch Hand

Joined: Feb 24, 2002
Posts: 213
Thank you!
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Directory copy