The ExtAddStoreSuffixes are only concerned with the suffix (including leading dot), I will probably add some more formatting code to extract this from any given arguments - I made it so you supply a list in the same format that it originally uses but can expand it's capability to keep things more uniform. if 'c:\work\*.*' is in FSpecArgs then it should 'find' any files in 'c:\work' These found files are then filtered to remove any that match any filespec in FSpecArgsExcl. Russell Peters http://www.users.bigpond.com/russellpeters/delphizip.html ----- Original Message ----- From: "Alistair George" <ageorge@xxxxxxxxx> To: <delphizip@xxxxxxxxxxxxx> Sent: Friday, November 29, 2002 6:14 AM Subject: [delphizip] FSpecArgs.Add > > Hello delphizip, > > If a filelist of c:\work\*.* is passed as arg to ZipMaster1.add: > > ZipMaster1.FSpecArgs.Add('*.' + 'EXE'); > Above allows ALL files including EXE > > ZipMaster1.FspecArgsExcl.Add('*.' + 'MP3'); > Above allows all files EXCLUDING MP3 > > ZipMaster1.ExtAddStoreSuffixes := 'JPS'; > Above does not compress JPS > > I just wondered why when the ADD function accepts *.* it will not parse for EXE > only in the above example, but does parse out MP3. Also Russell do you think the > ExtAddStoreSuffixes should be in the same format eg > ZipMaster1.ExtAddStoreSuffixes.Add('*.'+'JPS') > > > -- > Regards, > Alistair+ > > >