G
Guest
I need to copy (not move) a directory and all of its contents to another Location Disk / Server / Universe etc.
But I cannot find a Copy method on the Directory or DirectoryInfo objects only a move.
There is a copy on the FileInfo.
I would have to write a recursive procedure to loop through the source directory creating destination directories and copying files to them.
I am quite capable of writing such a procedure, but I don't think that I should have to. I also do not want to use the Scripting.FileSystemObject which will do this very easily.
Any thoughts please
Ben
But I cannot find a Copy method on the Directory or DirectoryInfo objects only a move.
There is a copy on the FileInfo.
I would have to write a recursive procedure to loop through the source directory creating destination directories and copying files to them.
I am quite capable of writing such a procedure, but I don't think that I should have to. I also do not want to use the Scripting.FileSystemObject which will do this very easily.
Any thoughts please
Ben