in reply to How to recursively copy files in a folder to another folder?

All I want to do is copying everything in a folder to another and if the file does already existed (or readonly) in the destination folder, it will be overwritted.
  • Comment on Re: How to recursively copy files in a folder to another folder?

Replies are listed 'Best First'.
Re^2: How to recursively copy files in a folder to another folder?
by vitoco (Hermit) on Dec 10, 2009 at 12:16 UTC

    As moritz said, you can call XCOPY with system, but I'm not sure you will find an option to overwrite an existing readonly file in the destination folder.