Current VI's Path Function
- 已更新2025-07-30
- 閱讀時間為 1 分鐘
Returns the path to the file of the current VI. If the VI never has been saved, this function returns <Not A Path>.
This function always returns the current location of the VI. If you move the VI, the value returned changes.
If you build the VI into an application, this function returns the path to the VI in the application file, and treats the application file as a VI library.
Note To obtain the path to the directory containing the application, use the Application Directory VI.

Inputs/Outputs
path
—
path is the path to the current VI. |
path
—