Member of the support class.
c = dir(a)
Lists all files in a directory. dir(a) is equivalent to ls(a).
| Name | Description |
| a | Specifies the directory for which you want a list of files. a can include regular expressions. a is a string. |
| Name | Description |
| c | Returns a list of the files in a. c is a string. |
This function is not supported in the LabVIEW Run-Time Engine. This function can remain in your scripts when you build a stand-alone application or shared library, but the LabVIEW Run-Time Engine does not execute this function.
% Lists all VIs in the working directory
C = dir('*.vi')