zipfromlist command doesn't work

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

zipfromlist command doesn't work

Post by *eugensyl »

As you know in help file into a button from the button bar you can put this command: zipfromlist.

5. With the command zipfromlist, you can create a zip file from a list of files. The command field must contain the zip file name and the parameters field, the name of the list file. The list file must contain a list of files to be packed, one file per line.

I have tried but it doesn't work.

Command: zipfromlist [path\...\name_of_my_archive]
Parameter: [path\...\my_file_with_my_list_files]
Path: [none]

Can somebody confirm this issue?
My Best Wishes,

Eugen
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

It works-----

Post by *Clo »

2eugensyl

:) Hello Eugen !

• I cannot confirm that issue.
• I tested it with a button now :
button17=K:\Icones\24²\commandes_fond\compress.ico
cmd17=ZIPFROMLIST E:\A4\test_zip_list.zip
param17=E:\A4\test_zip_list.lst
iconic17=0
menu17=Test ZIPFROMLIST
• It works with the following list (ANSI - CRLF as line break made in Notepad2) :
K:\Icones\24²\0_tree.ico
K:\Icones\24²\1_tree.ico
K:\Icones\24²\2_trees.ico
K:\Icones\24²\305-superposed.ico
K:\Icones\24²\503_espace_occupé.ico
K:\Icones\24²\2003_open_item.ico
K:\Icones\24²\2053-Go_next_select.ico
K:\Icones\24²\2054-Go_previous_select.ico
K:\Icones\24²\2127_Récup_Corbeille.ico
K:\Icones\24²\2924_parcourir-inc_browse_inc.ico
K:\Icones\24²\associate.ico
K:\Icones\24²\associate_local.ico
• The ZIP is created as expected, but also the original structure «Icones»\«24²», this last sub-folder containing the files
of the list (maybe because my ZIP settings): E:\A4\test_zip_list.zip 6,0 Kio 12/02/2009 06:10 -a--
- I stated the ZIP location in the same folder than the list to ease the test…

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Re: It works-----

Post by *eugensyl »

Clo wrote:2eugensyl

:) Hello Eugen !

• I cannot confirm that issue.

:mrgreen: KR
Claude
Clo
Thank you CLO!
Maybe is some wincmd.ini setting for that issue.

Not yet... sorry... (I mean doesn't work yet)
My Best Wishes,

Eugen
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Try so---

Post by *Clo »

2eugensyl

:) Again…

• Maybe could you test with a list having full paths and compare your ZIP settings with mine below :
[Packer]

ExpertMode=1
InternalUnzip=1
InternalZip=1
InternalZipRate=9

LinuxCompatible=1
LzmaAllowed=1
Nodelete=1
OpenPartial=1

UnZIP=pkunzip.exe
ZIP=pkzip.exe
Zip83Name=0
ZIPlikeDirectory=1
Zipnt=0
ZipSetDateToNewest=1
ZipUnicode=3
UnZIPOverwrite=1
- In the Pack dialogue, here the two first upper boxes are ticked.
:?:

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

Clo wrote:2eugensyl

:) Again…

:mrgreen: KR
Claude
Clo
Unfortunately most of settings was the same.
The differences are not very important:
Nodelete=0
UnZIPOverwrite=0

This is unknown setting for me:
ZipUnicode=3

Even with all your settings doesn't work.

I will try on other computers. Thanks!
My Best Wishes,

Eugen
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

ANSI, sure ?

Post by *Clo »

2eugensyl

:) Again…
…This is unknown setting for me:
ZipUnicode=3
• Please, have a glance THERE.
• Else : Are you sure that your list file is ANSI plain text ?

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

2Clo
Is it all right to set it to 3 for english language, in case we get a file that has unicode in it?
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Mainly French here

Post by *Clo »

2Boofo

:) Hi Bob !

• I don't know for English, here are mainly French file-names (with accents) and Unicode names are almost nonexistent…
- I guess that is irrelevant with regard to the Eugen's failure in testing the ZIPFROMLIST command, though…

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

2eugensyl
Are you using the lst extention? Or txt?
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

Boofo wrote:2eugensyl
Are you using the lst extension? Or txt?
Matter?
Here is my file.

XP SP3
My Best Wishes,

Eugen
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

Well, using lst worked for Clo so I thought it might work for you also.

Try taking the first line (url\) out and see if that helps.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

2eugensyl

I think the problem is that, the file names (test.txt) saved as Unicode!
You have to save it using ANSI encoding.
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Two¦three causes

Post by *Clo »

2ts4242

:) Hello !

• Right, the Eugen's file is UNICODE BOM, and also like Boofo points out above,
the URL\ first line is not a file and must be removed.
- Moreover, I assume that each line must show the file-name with its path, or else how TC could find them ?

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

I just tested it with an ANSI txt file and it worked fine. As Clo stated, it saves the path in the ZIP file, also.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

I'm wondering if there is any way to have it OverWrite All using this to backup files on a regular basis.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
Post Reply