Use a Path Substitution
- Last UpdatedJul 18, 2023
- 1 minute read
Instead of specifying the full path to data files in your system, you can use a path substitution.
With path substitution, you use a name that is a substitution for a full directory path. You can then use the substitution name in the following format:
|
File Name |
[SUBSTITUTION]:<filename> |
For example, if you decide to store a trend data file in the default data directory, you could specify the full path to the file:
|
File Name |
%PROGRAMDATA%\AVEVA Plant SCADA 2023\Data\MYFILE |
Or you could use a default path substitution and specify the following:
|
File Name |
[DATA]:MYFILE |
Path substitution provides greater control of data storage. You can change the location of data files by changing the definition of the data path - instead of locating and changing each occurrence of the data path.
A set of default path names are listed below. You can also define your own path substitutions using the parameter [Path]<PathName>.
Default Path Substitutions
Plant SCADA has the following pre-defined path substitutions:
|
Path Name |
Default Directory |
|---|---|
|
[Bin] |
%PROGRAMFILES(x86)%\AVEVA Plant SCADA\Bin |
|
[User] |
%PROGRAMDATA%\AVEVA Plant SCADA <VersionNumber>\User |
|
[Data] |
%PROGRAMDATA%\AVEVA Plant SCADA <VersionNumber>\Data |
|
[Run] |
The current project directory. |
|
[Copy] |
The current copy project directory. |
|
[Back] |
The current backup project directory. |
Note: You will need to manually configure the access control list for a folder specified in a path substitution so that it matches the permissions that were applied to the default location during installation. See Configure Directory Security for Modified Folder Locations.