Inplace packing to separate archive bug

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Inplace packing to separate archive bug

Post by *Black Dog »

[face=courier]Commander "lost" the first letter of archive name packing files with " -" sequence in names to separate archives.

Create a testing set of files, e.g.:

test.txt
test - test.txt
test- test.txt
test -test.txt

Select them, open "Pack files" dialog via "Ctrl"+"Alt"+"F5" (or just remove path by hands) and check "Create separate archives, one per selected file/dir".

Results would look like this:

test.zip
est - test.zip
test- test.zip
est -test.zip[/face]
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Magic but true.

If you quote it:

zip:"*.*.zip" instead of zip:*.*.zip

it always lost the first letter.
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

I cannt confirm this neither with original WCMZIP32.DLL nor with crypto WCMZIP32.DLL.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

2Sheepdog
Do you try to do it "inplace" ?
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 14-06-2004 14:45:54 +0000 djk wrote:

d> If you quote it:

d> zip:"*.*.zip" instead of zip:*.*.zip

d> it always lost the first letter.


Well, here it lost the first letter regardless or archive type and with or w/o quotation - zip:"*.*.zip" and zip:*.*.zip both lost the first archive letter for me.

BTW, the strange thing is that by default it looks like this:

zip:*.*.zip"

i.e. with only ONE quotation mark symbol 8\.[/face]
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

djk wrote:Do you try to do it "inplace" ?
:oops: Seems that I've missed the headline.


But if you use

Code: Select all

zip:\*.*.zip
it works fine. So it seems to be a bug while removing the path.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50512
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will try to reproduce it, thanks for your report.
Author of Total Commander
https://www.ghisler.com
Post Reply