07-21-2010 11:26 PM
Hi all,
My task is simple, but i couldn't get this.
Here is my task
Create a folder "XXX" under the following directory path : "E:\AAA\BBB".
NOTE : Directories 'AAA' and 'BBB' are not available on computer. Those two should be created during runtime by using 'BUILD PATH' function.
I used 'CREATE FOLDER' function with the appropriate path as file input, but I got error --> Unable to create folder since the folder (BBB) not exists / you may have deleted or moved that folder to some other path. Eventually since I am using BUILD PATH, there is no way either to delete or move that folder.
I have already tried this before few months back and got this done. But I couldn't follow up what I did earlier.
So, please let me know how to get this done.
Questions and suggestions are always welcome.
Thanks in advance,
Sriram Iyer.
Solved! Go to Solution.
07-22-2010 12:43 AM - edited 07-22-2010 12:47 AM
Which LabVIEW version do you use ? In LV2009, Create Folder generates the full structure of directories.
With previous versions, Create Dir if Non-Existant from OpenG is your friend !
07-22-2010 01:21 AM
Create folder is available in earlier version as well. I can confirm for 8.0
07-22-2010 01:26 AM
Thanks. It works. But to create nested directory structure, we have to use build path function and strip that duplicate path to create folder function. Then it will create 'n' number of folders on any directory.