FileSystem.CopyFolder() (Method)

A method for copying folders within the file system.

Availability:

JScript - 3.0
Internet Explorer - 4.0
JavaScript syntax:IEmyFileSystem.CopyFolder(aSource, aTarget, aFlag)
Argument list:aSourceThe folder to copy from
aTargetThe folder to copy to
aFlagA flag to indicate whether to overwrite

From the FileSystem, you can copy a whole folder hierarchy in a single operation. As is the case with the File object, the Folder object also provides a Copy() method too.

See also:Folder.Copy()