DirectoryHelper CopyDirectory Method Kentico 8.0 API Reference
Copies specified directory including its subdirectories and all underlying files.

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

sourcePath
Type: OnlineSystem String
Full disk path of the source directory
targetPath
Type: OnlineSystem String
Full disk path of the new copy of the directory including its name
See Also