forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


ZipList Command

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript 5 Source Code
View previous topic :: View next topic  
Author Message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Wed Aug 06, 2003 7:36 pm    Post subject: ZipList Command Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Wed Aug 06, 2003 8:25 pm    Post subject: Reply with quote

Don't you have a diaper to change or a bottle to warm up or something
like that??? Wink Or are you hiding at your computer because your wife
is now going through Post Partum Syndrome (PPS, similar to PMS!) Wink

-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
View user's profile Send private message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Wed Aug 06, 2003 8:33 pm    Post subject: Reply with quote

Hehe. I made this at work. It is the only "free" time I have had lately! Laughing
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Sun Mar 28, 2004 7:57 pm    Post subject: Reply with quote

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 Laughing
Back to top
View user's profile Send private message Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Sun Mar 28, 2004 10:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Mon Mar 29, 2004 3:43 am    Post subject: Reply with quote

sorry to hear Shocked

Maybe someone else will make one someday Wink

Thanks for your response Garrett..
Back to top
View user's profile Send private message Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Mon Mar 29, 2004 2:57 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Mon Mar 29, 2004 3:19 pm    Post subject: Reply with quote

Julian, if you really need that, I might have some old non-vds dll lying around here which can do the same... Smile
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Mon Mar 29, 2004 4:28 pm    Post subject: Reply with quote

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. Sad

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. Crying

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Mon Mar 29, 2004 6:46 pm    Post subject: Reply with quote

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. Smile
Back to top
View user's profile Send private message Visit poster's website
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Mon Mar 29, 2004 8:59 pm    Post subject: Reply with quote

Try using MTZip.

http://www.vdsworld.com/index.php?page=search&keywords=mtzip&extend=1

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript 5 Source Code All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group