Build Path Function
- Updated2025-07-30
- 2 minute(s) read
Creates a new path by appending a name or a relative path to an existing path.

Inputs/Outputs
base path
—
base path specifies the path to which this function appends name or relative path. The default is an empty path. If base path is invalid, this function sets appended path to <Not A Path>.
name or relative path
—
name or relative path is the new path component appended to base path. If name or relative path is an empty string or an invalid path, this function sets appended path to <Not A Path>.
appended path
—
appended path is the resulting path. |
Suppose you want to build the path c:\dir1\vis\first.vi. The following table shows examples of how you can specify base path and name or relative path to build this path.
| Operation | base path | name or relative path |
|---|---|---|
| To specify a name | c:\dir1\vis | first.vi |
| To specify a relative path | c:\dir1 | vis\first.vi |
| To specify an absolute path | — | c:\dir1\vis\first.vi |
base path
—
appended path
—