MS JScript JavaScript Tutorial

Syntax

filesystemobject.CopyFolder(source, destination, overwrite)
The CopyFolder() method copies a folder from a source to a destination.
source specifies source path and filename.
destination specifies destination path a filename.
overwrite is a Boolean value indicating whether to overwrite an existing file or not.


    
    
    
    
    Copy Folder "c:\tmp" to the folder "c:\newtmp"