I would like to search the *.c,*.h and *.cfg files using List Folder and finally to find out / filter the folder path alone for the selected *.c,*.h and *.cfg files.
How to do that?.
Is it possible to give *.c,*.h,*.cfg as a pattern input to the List Folder? If i give *.c,*.h,*.cfg as a pattern input it is goving error.
The "pattern" uses the same sintax as the wildcards of the dir (Windows) command, so you cannot use "*.c,*.h,*.cfg".
Use instead List folder three times, one for each extension, and then join the files you get
In windows it is possible to search using the combination of *.c,*.cfg,*.h.
If it is same as windows it supposed to work. please correct if i am wrong?.
Please send example document which gives details related to pattern or regular expression.
seperating the file name with semicolon works for file dialog but not for list folders
You can try something like this
Is it possible to remove the duplicate file name from the filename output from the List folder?.
whether i need to use complicated sorting?
The file name would be same in different directory. But the output from list Folder filename is going to same. i would like to remove duplicate filename.
You can delete it from the array that you are getting right?
I edited the idea slightly.
This vi accepts a pattern string separated by semicolons and outputs a 1D array instead of a 2D array.
This is how the "List Folder.vi" SHOULD work.