What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » create zip

create zip
Author: Message:
Suxsem
Junior Member
**


Posts: 66
Joined: Mar 2008
O.P. create zip
Hi!

with the command "MsgPlus.ExtractFromZIP(/*ZipFile, DestDir, FileNames, Password*/)" I can extract a zip file...but....how can I create a zip file from a folder?
06-05-2008 11:17 AM
Profile E-Mail PM Find Quote Report
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
31 / Male / Flag
Joined: Mar 2003
Status: Online
RE: create zip
You will probably have to use zlib.
YouTube closed-captions ripper (also allows you to download videos!)
06-05-2008 05:05 PM
Profile E-Mail PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: create zip
...Or any other 3rd party library.


In fact, you don't need any 3rd party library at all since Windows XP and Vista already support ZIP files. So you can make an (un)zipper without any 3rd party stuff.
Microsoft calls it "compressed folders" (which is indeed what a zip file actually is, it is a folder with one or more files and/or subdirectories), so you might wanna search for that in the MSDN library (you'll find examples and very detailed info).

For an unzip example see: CookieRevised's reply to [Suggestion] Skin Updater.
Zipping is very similar and many (Javascript/JScript) example codes can be found on the net.

This post was edited on 06-05-2008 at 06:54 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
06-05-2008 06:50 PM
Profile PM Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
29 / Male / Flag
Joined: Nov 2006
Status: Away
RE: create zip
quote:
Originally posted by CookieRevised
For an unzip example see: CookieRevised's reply to [Suggestion] Skin Updater.
Zipping is very similar and many (Javascript/JScript) example codes can be found on the net.
quote:
You do not have permission to access this page.
[quote]
Ultimatess6
: What a noob mod
06-05-2008 09:43 PM
Profile PM Web Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: create zip
Silly Cookie linking to a thread in the beta forum :P

Here is what is in the post anyway: (hope you don't mind, Cookie)
quote:
Originally posted by CookieRevised
You could also use pure scripting to unzip a file.

The disadvantage for this is that it only works on XP and higher (thus also Vista), you can't hide the dialogs and you need to make sure the native zipping is enabled (DLL registered, but that can be done with your script too actually).

Or you could call zlib.dll with the Interop calls. zlib is very likely present on every system, although this is not always true, but that would be rare.

.plsc File Attachment: Unzip_Example.plsc (1.67 KB)
This file has been downloaded 169 time(s).
06-05-2008 11:31 PM
Profile PM Find Quote Report
Suxsem
Junior Member
**


Posts: 66
Joined: Mar 2008
O.P. RE: create zip
Thank! Now i try...
06-09-2008 08:17 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On