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 Only. |
| Function Groups: | File I/O |
| Related to: | CheckFileExist | CheckPathExist | GridList |
Format: ![]() |
System.CopyDir(Destination, Source) |
| Parameters: |
| Destination |
| Required. Any text expression giving the directory into which the source directory is to be copied. This directory must already exist. |
| Source |
| Required. Any text expression giving the directory to be copied. |
| Comments: |
This module is a member of the System Library, and must therefore be prefaced by \System. as shown in the "Format" section. If your application predates version 11.2, use the backslash notation rather than dot: \System\ |
This function is session non-aware, meaning it works on the server's file system even with an active remote connection established. This function is also blocking, all concurrent thread operations will be paused until its execution has concluded.
Example:
System.CopyDir("C:\OEMApp", "App1");
