Hi Robert, Yes your code works as sent to me. I have tested my code and found that adding the AddRecurseDirs option > ZipBuilder->AddOptions << AddDirNames << AddHiddenFiles << AddRecurseDirs; your code doesn't work and it starts to skip the files. Be patient, please, don't say 'Ohh what a boring man".... Fabrizio. ----- Original Message ----- From: "Roger Aelbrecht" <Roger.Aelbrecht@xxxxxxxxxx> To: <delphizip@xxxxxxxxxxxxx> Sent: Friday, November 01, 2002 3:02 PM Subject: [delphizip] Re: Files Skipped (investigation result) > > I have renamed a file to ;aaa and another ;a > but still no problems > As information below the code I used to do the tests, this piece of > code is in the Click event of a button on a form with TZipBuilder on it and > a > TMemo were all messages send by TZipBuilder are displayed > > ZipBuilder->AddCompLevel = 9; > ZipBuilder->AddOptions.Clear(); > ZipBuilder->AddOptions << AddDirNames << AddHiddenFiles; > ZipBuilder->ZipFileName = "F:\\temp\\testref.zip"; > ZipBuilder->RootDir = "F:\\Documenti\\pagine web salvate\\4_file\\"; > ZipBuilder->FSpecArgs->Clear(); > ZipBuilder->FSpecArgs->Add(";aaa"); > ZipBuilder->FSpecArgs->Add(";a"); > ZipBuilder->Add(); > InstructionsMemo->Lines->Add("==>Zip file is OK"); > > Since you could simplify the problem to a small filename > can you also simplify the used code to something like the above > > Roger Aelbrecht > http://web.wanadoo.be/driehoeksw > ----- Original Message ----- > From: "Dr. Fabrizio Villanova" <fvillanova@xxxxxxxxxxx> > To: <delphizip@xxxxxxxxxxxxx> > Sent: Thursday, October 31, 2002 6:53 PM > Subject: [delphizip] Files Skipped (investigation result) > > > > > > Hi Roger, > > > > i have made some investigation about the reported message. > > > > I have seen: the problem appear ONLY calling the Add method with the file > > name interested. If i specify a dir that contain this file > > it will be compressed normally. > > > > The problem is in the file name, i semplified it and i found: > > File name: "ccc;aa" OK > > ";" OK > > ";aaa" BAD the problem appears and the file is skipped. > > ";a" BAD > > It seems to be a particular interpreted combination from the Add method. > > > > To be sure, i have manually typed all letters renaming a file. > > > > Hoping to give you help. > > Fabrizio > > > > >