DirectoryHelper CopyDirectory Method Kentico 8.1 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.1.5347.20411)

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