| View previous topic :: View next topic |
| Author |
Message |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Wed Aug 06, 2003 7:36 pm Post subject: ZipList Command |
|
|
Here is another command. It is to be used with VDSZip.dll. It will zip a list to a file.
| Code: |
# ZipList command for use with VDSZip.dll
#Useage
# ZipList <List (Must already exist)>,<Zip Filename>,<Password>,<Comment>,<Full Path "TRUE or FALSE">
#Define command,ziplist
:ziplist
if @not(@greater(@count(%1),0))
Warn List %1 does not exist.
exit
end
%x = 0
if @not(%5)
%5 = FALSE
end
repeat
zip add,%2,@item(%1,%x),%3,%4,%5
%x = @succ(%x)
until @equal(%x,@count(%1))
exit
|
_________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Wed Aug 06, 2003 8:25 pm Post subject: |
|
|
Don't you have a diaper to change or a bottle to warm up or something
like that??? Or are you hiding at your computer because your wife
is now going through Post Partum Syndrome (PPS, similar to PMS!)
-Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
Posted: Wed Aug 06, 2003 8:33 pm Post subject: |
|
|
Hehe. I made this at work. It is the only "free" time I have had lately!  _________________ Chris
Http://theblindhouse.com |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Sun Mar 28, 2004 7:57 pm Post subject: |
|
|
Will the VDSZip.dll extract from a ZIP SelfExtracting EXE?
And who is the VDSZip.dll made by please?
Will do most the zip command line options?
Does it require the user to have ZIP installed?
Sorry for all the question, I get excited  |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sun Mar 28, 2004 10:47 pm Post subject: |
|
|
The VDSZip.dll is no longer available. The integrity of the author of the
dll was brought into question and the site team felt it was best on their
part to remove the listing for the dll.
The dll itself seems to have no issues of concern as many have checked
it out and used it and there have been no problems reported.
-Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Mon Mar 29, 2004 3:43 am Post subject: |
|
|
sorry to hear
Maybe someone else will make one someday
Thanks for your response Garrett.. |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Mon Mar 29, 2004 2:57 pm Post subject: |
|
|
What was the latest version of this DLL?
I have version 1.4. When I use the command:
| Code: | | ZIP ADD,%1.zip,%1,,,True |
to zip a folder whose path is %1 to a zip file of the same name (with a zip extension) the resulting archive does not contain the file paths, regardless of whether the last parameter is True or False. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Mon Mar 29, 2004 4:28 pm Post subject: |
|
|
Thanks.
I've since found by trial and error that there is an extra parameter between the file path and the True value, whose purpose isn't described in the docs. (Even the example VDSZip doesn't work.) Sticking an extra comma in solved the problem.
But I then found another issue that I remember commenting on before. This DLL seems to have a problem with files that don't have an extension. They appear not to exist to the unzip function. This is definitely a bug, and presumably it isn't going to be fixed.
I've looked at various DLLs in the past with a view to creating a VDS Zip extension, but they all had horribly complicated APIs and it seemed like an awful lot of work. I was very pleased that someone else bit the bullet and did the work for me. Unfortunately if I have to write a new extension to do this then it just isn't going to be worth it. If I could justify the effort, then I might as well write the whole thing in Delphi. Given the way support is going for DLLs, not to mention VDS itself, that might not be such a bad idea anyway.  _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
vtol Valued Contributor


Joined: 05 Feb 2004 Posts: 656 Location: Eastern Indiana
|
Posted: Mon Mar 29, 2004 6:46 pm Post subject: |
|
|
Does ALLOY have its own commands and zip technology that we can use instead of a new ZIP DLL?
It would be nice to unzip a normal zip by way of VDS programs without using Window SEND - etc..
A way to open ZIP SelfExtracting files would be nice too.  |
|
| Back to top |
|
 |
LiquidCode Moderator Team
Joined: 05 Dec 2000 Posts: 1753 Location: Space and Time
|
|
| Back to top |
|
 |
|