Check if File or Folder Exists VI
- Updated2025-07-30
- 2 minute(s) read
Checks whether a file or folder exists on disk at a specified path. This VI works with standard files and folders as well as files in LLB files.

Inputs/Outputs
path
—
path specifies the path to the file or folder you want LabVIEW to look for. If you use this VI to check the validity of a network path, make sure that you connect to the network first.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
dup path
—
dup path returns path unchanged.
file or folder exists?
—
file or folder exists? is TRUE if the file or folder you specify in path exists on disk and FALSE if the file or folder you specify in path does not exist on disk. If you wire an empty path to path, file or folder exists? returns TRUE because the empty path refers to the list of drives mapped to the computer. (macOS) The empty path refers to the mounted volumes. (Linux) The empty path refers to the root directory.
error out
—
error out contains error information. This output provides standard error out functionality. |
path
—
error in (no error)
—
dup path
—
file or folder exists?
—
error out
—