Well, after a lot more testing, it would appear that it may be related to how the zip is created? Either that, or the order in which they are extracted. The reason I suspect this is because I went and modified the zip contents and changed it to a nice small filename: "x.zip" - and that worked (phew). Then I went in, and added the big filename again - and it worked as well. So now two files attached, "x,doc" and the big filename. So maybe problem relates to the order in which things are extracted? And if the first one (or the last one) happens to be a long name... hard to say not being the code author. anyway, that's what I know... Let's hope the client doesn't find it :) -rs Randall Sell <randallsell@xxxxxxxxx> wrote: This is a very odd problem... If I run via delphi debugger specifying my command line (which is then extracted) it will work correctly. If I launch via Windows Explorer (file association is setup) then it truncates this entry. but it is ONLY this one entry. All the other long filenames are correct. If I don't use any sort of file associations, or command line params, and just open the file via the EXE's file | Open - it fails there as well. I'd be pretty happy to chalk it up to a bug in ZipMaster - but the bloody thing works in some cases, and it works fine when I use the Demo1 app. so I'm stumped. The full path to the file, when extracted is 136 chars: D:\Documents and Settings\rj\Local Settings\Temp\irb6AF.DHT\Attachments\Tender Document 4.0 Terms and Conditions of Contract_IRB0001.doc -randall "R.Peters" wrote: Freelists does not allow attachments but you could send it to problems@xxxxxxxxxxxxx I tested that filename without problems. The only thing I can think of is perhaps to total absolute extraction path is too long - from my unreliable memory MAX_PATH is about 420. A bit my information might help - What Windows version and disk file system (FAT or NTFS) for extraction. Any error or warning messages - a log file may help (needs section [UNZDLL]) Meanwhile I will examine the code to see under what conditions it will truncate it (I have an idea that it is there but well buried). - Russell Peters -----Original Message----- From: delphizip-bounce@xxxxxxxxxxxxx [mailto:delphizip-bounce@xxxxxxxxxxxxx] On Behalf Of Randall Sell Sent: Saturday, February 03, 2007 2:32 AM To: delphizip@xxxxxxxxxxxxx Subject: [delphizip] Long filename not extracting properly Importance: High Hi all, Been using ZipMaster since 1.6. Now have latest 1.79. The zip process seems to work fine and creates all the files (all have fairly long names) only one does NOT extract correctly in my proejct. Real filename: "Tender Document 4.0 Terms and Conditions of Contract_IRB0001.doc" What is extracted: "Tender D.doc" Seems to have crunched it down to 8.3 size. The file in question is inside another dir (relative paths stored in zip) and they extract OK. so I can't see why this file has trouble. so then revved up the Demo1 app - expecting to see the same results. but it works! Which is good - I must have something set wrong in my app. My question is - does anyone have any guidance/hints as to where my truncation problem is coming from? has anyone else here seen a similar problem? I'd suspect the OS if it created like a Tender~1.doc file, but it isn't. It is just getting chopped to "Tender D.doc" Using winzip - it also extracted OK, so clearly my code must have something wrong. I shoudl mention that this proejct started with ZipMaster 1.6p and has chased the latest revs ever since. I did completely uninstall 1.78. So any guesses what might be going on here. I've attached the file. suspect file is in the "attachemnts" subfolder. thanx -randall ____________________________________________________________________________ ________ Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=list&sid=396546091 -- Binary/unsupported file stripped by Ecartis -- -- Type: application/zip -- File: LongFilenameProblem.zip -- Desc: 2549846891-LongFilenameProblem.zip ----------- To unsubscribe from this list, send an empty e-mail message to: delphizip-request@xxxxxxxxxxxxx and put the word unsubscribe in the subject. ----------- To unsubscribe from this list, send an empty e-mail message to: delphizip-request@xxxxxxxxxxxxx and put the word unsubscribe in the subject. --------------------------------- Never Miss an Email Stay connected with Yahoo! Mail on your mobile. Get started! ----------- To unsubscribe from this list, send an empty e-mail message to: delphizip-request@xxxxxxxxxxxxx and put the word unsubscribe in the subject. --------------------------------- It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar. ----------- To unsubscribe from this list, send an empty e-mail message to: delphizip-request@xxxxxxxxxxxxx and put the word unsubscribe in the subject.