Torgeir
Fri Feb 27 17:00:23 CST 2004
JJ wrote:
> How can I send like a text file into a zip file so that I can send it out in email?
Hi
Here are some free ZIP products (command line or component):
ZipGenius has a command line interface (freeware)
http://www.zipgenius.it/
and from a couple of previous posts:
==================================================
==================================================
From: PForret (peter@nospam.forret.com)
Subject: Re: Zipping up files from within a script
Newsgroups: microsoft.public.scripting.wsh
Date: 2004-01-20 18:53:54 PST
<quote>
There's also Seven-Zip, a SourceForge project -
http://www.7-zip.org
It's open-source and also has a command-line version.
The syntax is "7za.exe a -tzip $out $in" (if you want the .zip format)
I use it in combination with my waRmZip.wsf script.
http://winadmin.sourceforge.net/warmzip.html
</quote>
==================================================
==================================================
From: Ross Presser (rpresser@NOSPAM.imtek.com.invalid)
Subject: Re: Programatically controlling file compression/zip
Newsgroups: microsoft.public.scripting.wsh
Date: 2003-06-25 13:20:53 PST
<quote>
Forget the dlls. Get zip.exe and unzip.exe from INFO-ZIP - command line
tools that do things like
zip foo.zip c:/path/files/*
unzip -d c:/path/files/ foo.zip
<
http://www.info-zip.org/pub/infozip/UnZip.html#Win32>
</quote>
==================================================
==================================================
From: Atrax _ (anonymous@devdex.com)
Subject: Re: zipping a file via vb and wsh
Newsgroups: microsoft.public.scripting.wsh
Date: 2002-12-10 19:36:08 PST
<quote>
There's a lightweight ZIP component I wrote at :
http://rtfm.atrax.co.uk/boards/asp.asp?action=viewPost&postID=295
I still; haven't got around to documenting it fully, though, and I
haven't released the 'full' version yet.
</quote>
--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page Scripting
Guide:
http://www.microsoft.com/technet/scriptcenter