Copy a directory to another location.
Posted on 2004-11-06
I need to copy a directory to another location, complete with all it's contents. All sub-directories (and their sub-directories etc) must also be copied at the same time.
It is also important that the directory must ALWAYS be copied even if the destination directory name already exists, WITHOUT any message to the user. During the course of the program, this directory will be copied many times and I don't want the user continually being asked for confirmation.
I am using Delphi 6. This is URGENT so I am awarding the maximum 500 points for this. Please supply the code. Many thanks.