Last updated on
Apr 27, 2021 05:38:57 AM GMT
|
Also Applies to ColdFusion
Description
Copies the contents of a directory to a destination directory.
Returns
Nothing
History
ColdFusion 10: Added this function.
Syntax
directoryCopy (source, destination[ , recurse][, filter])
Properties
Parameter |
Description |
---|---|
source |
Absolute pathname of directory from which you copy content. |
destination |
Path of the destination directory. If not an absolute path, it is relative to the source directory. |
recurse |
By default, false. If true, copies the subdirectories. |
filter |
File extension filter applied, for example, *.cfm. |
Example
directoryCopy(sourceDirExists,destDirExists,true,"*.cfm")
Sign in to your account