02-09-2012, 06:43 PM
With QM I see two ways.
1. Enumerate files with foreach FE_Dir, add matching files to a list, pass the list to zip.
2. GetFilesInFolder with regular expression that excludes some files. For example, this rx excludes files that end with .cpp or .h: "(?i)(?<!\.cpp|\.h)$". Or get all, and then remove some files from the array. Then convert array to str and pass to zip.
1. Enumerate files with foreach FE_Dir, add matching files to a list, pass the list to zip.
2. GetFilesInFolder with regular expression that excludes some files. For example, this rx excludes files that end with .cpp or .h: "(?i)(?<!\.cpp|\.h)$". Or get all, and then remove some files from the array. Then convert array to str and pass to zip.