Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Studio

File management statements

  • Last UpdatedMay 21, 2025
  • 1 minute read

This topic discusses the template statements related to file management, such as copying files or directories.

These statements usually use file system placeholder tags to locate folders inside the project and the installation.

The file copy <copyfile/>

The copyfile statement is used to copy a single file and eventually rename it.

Attribute

Use

Description

from

Mandatory

The file path of the file to copy.

filename

Optional

The default value is false. When true, this attribute can be used to override the name of the copied file.

to

Mandatory

The file path of the location where to copy the file.

The directory copy <copydir/>

The copydir statement is used to copy the whole content of a directory into another directory.

Attribute

Use

Description

from

Mandatory

The directory to copy from.

to

Mandatory

The file path of the location where to copy the files.

The template file copy <copytemplate/>

The copytemplate statement is used to create a copy of the template file with resolved placeholders.

Note: This statement can be considered as deprecated.

Attribute

Use

Description

from

Mandatory

The file path of the template file to copy.

filename

Optional

The default value is false. When true, this attribute can be used to override the name of the copied file.

to

Mandatory

The file path of the location where to copy the file.

In This Topic
TitleResults for “How to create a CRG?”Also Available in