CopyFile

Example 1:

To copy a file from the publication directory to a temporary location:

CopyFile( SYSTEM_PUBLICATION_DIR + "\\test.txt", SYSTEM_TEMP_DIR )

Example 2:

To copy a file from the publication directory to a location contained in a variable SaveDir, renaming it in the process and confirming any overwrite:

CopyFile( SYSTEM_PUBLICATION_DIR + "\\test2_copy.txt", SaveDir + "\\test2.txt, true )

Close