Data Type: Folder object
A Folder object.
Data Type: String
The path and, optionally, the filename of the copy to be made.
Data Type: Boolean
Indicates whether existing files and folders should be
True) or not
Copies the current folder and its contents, including other folders, to another location.
Wildcard characters can’t be used in
The folder and all subfolders and files contained in the
source folder are copied to
Destination. That is, the Copy method
Unlike the FileSystemObject.CopyFolder method, there is no
operational difference between ending
Destination with a path separator or
If the destination path or any of the files contained in
Destination structure are set to
read-only, the Copy method will fail regardless of the value of
OverwriteFiles and will generate a
“Permission denied” error.
OverwriteFiles is set to
False, and the source folder
or any of the files contained in the
Destination structure exists in the
Destination structure, then trappable
error 58, “File Already Exists,” is generated.
If an error occurs while copying more than one file, the Copy method exits immediately, leaving the rest of the files uncopied. There is also no rollback facility to undo the copies prior to the error.
If the user has adequate ...