Long filenames w/ spaces before the period of an extension is not properly extracted, eg. "[Very long Filename] .bin" is not extracted properly, I noticed this behavior while extracting the tosec atari 2600 games archived in zip into separate directories. It is under Vista x86 Home edition.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It is the "Atari 2600 & VCS - Games" version 2006-05-25 w/ 1979 files, each compressed within individual zip files, when extracted those 6 files with spaces before the period individually, they extract OK. When selecting all 6 of them, they also extract OK. But when selecting ALL at once, all 1979 files and Extract to "*\", those six files do not extract. They are:
Euchre (2002-10-01)(Eid, Erik)(NTSC)[Release Candidate 2] .zip
Ghostbusters II - Easy (2003)(King Atari)(PAL)[h] .zip
ZZZ-UNK-Dark Mage Mod (19xx)(-)(PD)[b][aka DM-FOOT] .zip
ZZZ-UNK-Frogger (Official version by Sega)Starpath - .zip
ZZZ-UNK-Frogger (Preview) (2)Starpath - .zip
ZZZ-UNK-Frogger (Preview)Starpath - .zip
This is kinda strange. I can send the 6.7MB collection to you and you can extract them to see this particular issue.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
7-Zip: Diagnostic messages
0 can not open output file C:\Download\Euchre (2002-10-01)(Eid, Erik)(NTSC)[Release Candidate 2] \Euchre (2002-10-01)(Eid, Erik)(NTSC)[Release Candidate 2] .bin
.
.
.
Also, since the zip file has a space before period, the created individual directories ALSO must have a space after it. I believe 7-Zip has an issue IF directory created must have a space at the END as well.
Sincerely,
-Simon
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The reason for the error is that windows automatically deletes trailing spaces from directory names (Try renaming a directory to "test " and observe the result). Thus 7zip cannot find the folder and does not extract the file into it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I see, 7-Zip is "choking" when it "tries" to create directories with a space at the end. Just tried it in the command line, and windows ignores the space. If a zip file has a space before the period, I guess 7-zip should create a directory that does not have a space, BUT what if you have two or more different zip files with the EXACT SAME name, BUT one with a space, another with 2 spaces, and say another with three spaces before the period, what should 7-zip do then. A conflict? Will 7-zip store them all in one directory? create numbered directory names to avoid conflict? ;-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think that the forums/open discussion is not the right place to ask or discuss a bug or similar. the right place is tracker/bugs.
The forums/open discussion, I think, is to communicate about the project (in this case, 7-Zip by Igor Pavlov), and to make business; all this public (without limits and open to every one present).
(JMLM).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Long filenames w/ spaces before the period of an extension is not properly extracted, eg. "[Very long Filename] .bin" is not extracted properly, I noticed this behavior while extracting the tosec atari 2600 games archived in zip into separate directories. It is under Vista x86 Home edition.
So what name do you have before/after axtracting?
It is the "Atari 2600 & VCS - Games" version 2006-05-25 w/ 1979 files, each compressed within individual zip files, when extracted those 6 files with spaces before the period individually, they extract OK. When selecting all 6 of them, they also extract OK. But when selecting ALL at once, all 1979 files and Extract to "*\", those six files do not extract. They are:
Euchre (2002-10-01)(Eid, Erik)(NTSC)[Release Candidate 2] .zip
Ghostbusters II - Easy (2003)(King Atari)(PAL)[h] .zip
ZZZ-UNK-Dark Mage Mod (19xx)(-)(PD)[b][aka DM-FOOT] .zip
ZZZ-UNK-Frogger (Official version by Sega)Starpath - .zip
ZZZ-UNK-Frogger (Preview) (2)Starpath - .zip
ZZZ-UNK-Frogger (Preview)Starpath - .zip
This is kinda strange. I can send the 6.7MB collection to you and you can extract them to see this particular issue.
Do you use Explorer or 7-Zip File Manager?
If you use Explorer, try to decompress via 7-Zip File Manager.
Tried BOTH Explorer and 7-Zip File Manager,
7-Zip: Diagnostic messages
0 can not open output file C:\Download\Euchre (2002-10-01)(Eid, Erik)(NTSC)[Release Candidate 2] \Euchre (2002-10-01)(Eid, Erik)(NTSC)[Release Candidate 2] .bin
.
.
.
Also, since the zip file has a space before period, the created individual directories ALSO must have a space after it. I believe 7-Zip has an issue IF directory created must have a space at the END as well.
Sincerely,
-Simon
The reason for the error is that windows automatically deletes trailing spaces from directory names (Try renaming a directory to "test " and observe the result). Thus 7zip cannot find the folder and does not extract the file into it.
I'll try to fix it in next version.
I see, 7-Zip is "choking" when it "tries" to create directories with a space at the end. Just tried it in the command line, and windows ignores the space. If a zip file has a space before the period, I guess 7-zip should create a directory that does not have a space, BUT what if you have two or more different zip files with the EXACT SAME name, BUT one with a space, another with 2 spaces, and say another with three spaces before the period, what should 7-zip do then. A conflict? Will 7-zip store them all in one directory? create numbered directory names to avoid conflict? ;-)
Try adding a "\" at the end of the extract path. I think I had the same error and this fixed it.
Lisbon, 04 of July of 2008.
I think that the forums/open discussion is not the right place to ask or discuss a bug or similar. the right place is tracker/bugs.
The forums/open discussion, I think, is to communicate about the project (in this case, 7-Zip by Igor Pavlov), and to make business; all this public (without limits and open to every one present).
(JMLM).