Bug: double folder when file unzipped
-
Hello,
My problem is better understood if you read this example done with PowerArchiver (last version) :
I have a root folder (C:\A) named “A” which contains 2 files : “1.htm” and “2.htm”
I zip this “A” folder. It is named “A.zip”.
I erase the folder “A”.
Then I unzip the file “A.zip”. So it creates a folder named “A”.
Until here no problem!But if I open the “A” folder, I have another “A” folder inside!!
Then in order to find the files : “1.htm” and “2.htm”, I have to open again the new “A” folder!I have :
C:\A\A\1.htm
C:\A\A\2.htmWhereas I should have :
C:\A\1.htm
C:\A\2.htmUntil today I thought “whatever” until I realized that I cannot make a keyword search by using the freeware Wilbur http://wilbur.redtree.com/ (I am sure it is not a bug from its part as zip files were working fine before!) inside the “A.zip” file! And that is a big problem for me!
In fact, I assume that the bug is created when I zip the folder.
I have older zip files on my computer. And when I unzip them, there are no problems. So I have this bug only when I create a zip file and try to unzip it.I have also noticed something strange (hope this helps):
Example :
I use a right click and select PowerAchiver to zip the C:\A folder.
I have C:\A.zip
I delete C:\A
I copy C:\A.zip and paste is on C:
So I have “C:\A.zip” and “copy of A.zip”.
then I try to unzip with a right click on PowerArchiver :
And I have the following result :C:\copy of A\A\1.htm
C:\copy of A\A\2.htmNotice that I don’t have : C:\copy of A*copy of A*\1.htm !!
I have already tried without success :
regsvr32 /u %windir%\system32\zipfldr.dll
and regsvr32 /u %windir%\system32\cabview.dll and restart windows.I also use the freeware Rip-zip (warning! I assume that it is this freeware that may causes the bug with PowerArchiver but alas I cannot confirm! It would be great if somebody could! http://harmware.com/ripzip.htm).
I have tried to install/uninstall PowerArchiver and Rip-zip. But the bug is still here.Any help would be welcomed ;-)
Many thanks in advance,
Lip
XpSp1 (windows update ok)
Note: zip files searches was working fine 3 weeks ago on my computer. -
Are you using Extract to filename/ ?
If so, PA will create initial folder based on filename! Instead you should use Extract Here, and then you would get only whatever path is in the ZIP file.I hope that helps. Otherwise, check whats the path inside of zip archive, since that is what PowerArchiver will use as path for files, if you use extract here feature.
thanks,
-
Are you using Extract to filename/ ?
If so, PA will create initial folder based on filename! Instead you should use Extract Here, and then you would get only whatever path is in the ZIP file.Yes if I use “extract here” it works : I have :
C:\A\1.htm
C:\A\2.htm
But alas if I use an older zip file I have to use “Extract to filemame” for having the same result! So I still think it is a bug!I hope that helps. Otherwise, check whats the path inside of zip archive, since that is what PowerArchiver will use as path for files, if you use extract here feature.
I have checked the path shown inside the zip file : it is the correct one C:\a.zip but when I unzip I still have 2 folders!
Any other idea ?
Many thanks in advance,
Lip -
It is not an bug, you can chose how do you want to extract these files, to the separate folder based on the filename or to the same folder.
So if you use:
- “extract to filename/” - it will extract all the files from the archive in the folder based on the filename (destination folder)
- “extract here” - it will extract all of the files from the archive to the current folder.
If you have path already set in the zip file, that means that PowerArchiver will correctly create another folder in the destination folder.
You can also choose if you want relative path folder saved fully or not, by using “normal relative path”, I am assuming that you have checked that and now relative path is getting stored properly, and extract to filename/ doesnt work as before. You can always uncheck this option in Config> Misc and you will have it working as before, with only partial sorting of relative path.
Whole point of PowerArchiver’s default relative path option, as used in all versions of PA, is that you can select an folder, compress it with shell extensions and simply then use extract to filename/ to recreate exactly the same folder structure.
If you check “use normal path…” option in Config, then this will not work anymore as it did before, and you will have the problem of double folders. But this is not an bug, simply an way you chose PowerArchiver to save path info and to extract files.thanks,
-
spwolf,
I have tried again to uninstall Powerarchiver and Ripzip.
As it kept an icon for Powerarchiver, I activated the zip folder of xp and reassociate zip file with it. Then, desactivated the zip folder of xp. And it worked as there were no more icons with zip files.
Then, I have installed Powerarchiver again.
And all seems to work fine now! ;-) No bug anymore and no need to change settings in Powerarchiver.For the little story, I still think I had a bug with zip files (no offense intented, but maybe you have not followed the instructions of my example?). Alas I cannot confirm what caused it. ;-(
So if I have the same bug again I will anwser again to this message.Thanks again,
Lip -
Hi,
I am glad you have resolved it. Let us know if you have any other issues.
thanks!