Empty Paths
- Updated2026-05-29
- 2 minute(s) read
An empty path is either an empty absolute path or an empty relative path. Use empty paths in LabVIEW VIs to prompt the user to specify a path.
Empty Paths and Windows
An empty absolute path refers to the highest point in the file hierarchy. An empty absolute path in a path control appears as an empty string and when you wire it to a File I/O function, it refers to the list of drives mapped to the computer.
An empty relative path appears as a period .. The empty relative path refers to the current position of the user within the file hierarchy.
Empty Paths and macOS
An empty absolute path in a path control appears as follows:
- macOS 32-bit: empty string
- macOS 64 bit: /
When you wire the empty absolute path to a file I/O function, the empty path refers to the root directory.
An empty relative path appears as a period .. The empty relative path refers to the current position of the user within the file hierarchy.
Empty Paths and Linux
An empty absolute path in a path control appears as a slash /. When you wire the empty absolute path to a file I/O function, the empty path refers to the root directory.
An empty relative path appears as a period .. The empty relative path refers to the current position of the user within the file hierarchy.
Related Information
- File Paths
A file path control is a LabVIEW data type that identifies the location of a file on disk. LabVIEW supports three types of file paths: absolute paths, relative paths, and symbolic paths.