Using the File Binding Component in a Project

Application Variables in File Name Patterns

You can use application variables together with file name patterns to specify paths.

The following example shows how to use an application variable when specifying a path name to a file that uses the %d pattern marker:

Environmental Variable Using %d Pattern

This example specifies a directory defined by the application variable base_dir. The application variable is defined as a File Binding component runtime property. If base_dir is defined as /duke/home, then this example reads or writes the following files:

Application Variable Defined by base_dir