Zoomed Image

AMSX Scripting Language - Command : copyfiles

Summary

Copy multiple files from one folder to another

Description

Copies files matching the optional filter from the source folder to the target folder. Set the overwrite flag to "0" to skip files that already exist at the destination. File permissions are checked against the permitted folders list.

Parameters

ParameterDescription
cmdSource folder path
Argument 0Target folder path
Argument 1Overwrite flag: "1" to overwrite existing files, "0" to skip them (default: overwrite)
Argument 2Optional file filter wildcard (e.g. "*.xml"); leave blank for all files

Syntax


CopyFiles "Source folder path", "Target folder path", "Overwrite flag: "1" to overwrite existing files, "0" to skip them (default: overwrite)", "Optional file filter wildcard (e.g. "*.xml"); leave blank for all files"

Return to the AMSX Command Reference