Forum Moderators: coopster

Message Too Old, No Replies

Recursive copy of folder/files

         

kadnan

11:28 am on Aug 27, 2004 (gmt 0)

10+ Year Member



i want to copy entire content(have both files and folders)from One folder to destination folder..can any one help me out in this regard?

thanks

-adnan

Lord Majestic

11:31 am on Aug 27, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you are on Windows then:

xcopy Dir1\*.* Dir2 /E /D /Y

this will:

1) copy only newly changed files
2) copies dirs and subdirs even when they are empty
3) supress prompt about file being overwritten