... > FOR x=1 TO ALEN(taPattern) > IF LIKE(taPattern[x], lcFileName) > llExclude = .T. > EXIT > ENDIF > ENDFOR >Okay thanks for the pointer. I will give it a try. Also is there a utility liek Arj32 but freeware. I have tried 7z command line version but it has a lot of limitations, PKZip DOS is very old and anyway shareware.