Solution
To search for a directory, use the List Folder VI. This VI is located in the Functions Palette at
Programming»File I/O»Advanced File Functions. Wire a
Base Path as one of the inputs of the function. This function returns all the files and directories in the base path directory. If you are looking for a particular directory , you can wire the name of that directory to the
Pattern input of the List Folder function. Now, search the
Folder Names array output to see if it contains the directory name that you are looking for.
If you would like to create a new directory, use the Create Folder VI. This VI is also located in the Functions Palette at
Programming»File I/O»Advanced File Functions.