05-24-2010 03:14 AM
I would like to find the path of all the folders for the files *.c;*.h and *.cfg.
i am giving the pattern for each *.c;*.h and *.cfg in for loop. finally appending in to the array. Now it contains duplicate paths and exist in the array in the end of for loop.
i would like to check the each path before appending array. How to store the output path in to the array before the for loop?.
how to find the the entry already exist?.
What is the best way to do it?.
05-24-2010 03:25 AM
hi kals,
The best way you can do this is using "list folder "vi which is present in file pallette.Now wire the pattern as *.c,*h and *.cfg...The output will be arrays(no duplicates) of all those files..Build an array with all these outputs..Then the resulting output will be an array with *c files,*.h files and *.cgf files...
Thanks and regards,
srikrishnaNF
05-24-2010 03:47 AM
I need to find the files inside the sub folder also. Finally i want only the paths.
How to remove duplicates?.
05-24-2010 07:48 AM
05-24-2010 07:59 AM
Yes I am using Recursive File List VI. I am getting file lists with path for each *.c and *.h together that i am using pattern in for loop.
Now i would to order the list based on folder names. How to do it?.
05-25-2010 07:33 AM