J jothis Active Member Licensed User Apr 1, 2010 #1 I used This Cde: AddArrayList("al1") i=FileSearch(al1,AppPath&"\imgs","*.jpg") But Iwant To Search Multiple Files Like PDF,JPG,TIFF Is it Possible? Can You Help me? Jothis :sign0085:
I used This Cde: AddArrayList("al1") i=FileSearch(al1,AppPath&"\imgs","*.jpg") But Iwant To Search Multiple Files Like PDF,JPG,TIFF Is it Possible? Can You Help me? Jothis :sign0085:
klaus Expert Licensed User Longtime User Apr 1, 2010 #2 Just add one line per file type: AddArrayList("al1") i=FileSearch(al1,AppPath&"\imgs","*.jpg") j=FileSearch(al1,AppPath&"\imgs","*.pdf") k=FileSearch(al1,AppPath&"\imgs","*.tif") i = number of *.jpg files j = number of *.pdf files k = number of *.tif files Best regards.
Just add one line per file type: AddArrayList("al1") i=FileSearch(al1,AppPath&"\imgs","*.jpg") j=FileSearch(al1,AppPath&"\imgs","*.pdf") k=FileSearch(al1,AppPath&"\imgs","*.tif") i = number of *.jpg files j = number of *.pdf files k = number of *.tif files Best regards.