Returns information about the file or directory specified by path, including its size, its last modification date, whether it is a directory, whether it is a shortcut, and the resolved path if the file or directory is a shortcut. This function does not work for files inside an LLB.
path
Path to the file or directory whose attributes you want to determine. If you wire an empty path to path, directory returns TRUE.
error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default: no error
directory?
A Boolean that indicates whether or not the path points to a directory.
TRUE |
Indicates that the path points to a directory. |
FALSE |
Indicates that the path points to a location other than a directory. |
If you wire an empty path constant to path, directory returns TRUE.
size
File or directory size specified by path. If path specifies a directory, size indicates the number of items in the directory. If path is an empty path, size indicates the number of drives on the computer. If path is an empty path, size indicates the number of volumes on the computer. Otherwise, size indicates the length in bytes of the specified file, whether the file is a datalog file or a byte stream file.
last modified
Date and time at which the file or directory was last modified. The number is a time zone-independent number of seconds that have elapsed since 12:00 a.m., Friday, January 1, 1904, Universal Time [01-01-1904 00:00:00].
resolved path
Path to the shortcut target.
shortcut?
A Boolean that indicates whether or not the path points to a shortcut.
TRUE |
Indicates the path points to a shortcut. |
FALSE |
Indicates the path points to a location other than a shortcut. |
Installed By: LabVIEW Communications System Design Suite (introduced in 1.0)
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported