Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets 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!
I agree. Here's the link:
subject: Directory copy
Similar Threads
Class File - Any move and/or copy method()?
[ant] copy, creating directories as needed
go to a specific directory (Runtime.getRuntime();)
how to copy files at runtime
servlet ......a simple problem