CopyDir 

(System Library)

Description:              This subroutine recursively copies a directory's files and sub-directories down through the entire directory tree.

Returns:                    Nothing

Usage:                       Script

Format:                      \System\CopyDir(Destination, Source)

Parameters:             Destination    { text }  { required }  { no default: }

                                                Any text expression giving the directory into which the source directory is to be copied; this directory must already exist.

                                    Source    { text }  { required }  { no default: }

                                                Any text expression giving the directory to be copied.

Comments:               This subroutine is a member of the System Library, and must therefore be prefaced by \System\, as shown in the "Format" section. If the application you are developing is a script application, the System variable must be declared in APPMOD.SRC and need not be prefaced by a backslash in the function call.

Example:

System\CopyDir("C:\OEMApp", "App1");

See Also:

CheckFileExist | CheckPathExist | GridList