Make Zip Flie using command line?`



Don I
07-09-2005, 11:49 PM
I need to automate the creation of a zip file. I have WinXP Home SP2 and
usually use the XP method of creating zip files. But now I need to create a
scheduled task that will wirte the contents of a directory to a zip file.

Is there such an animal in XP?

TIA!

--

Don I

David H. Lipman
07-09-2005, 11:49 PM
From: "Don I" <don.newsgroups@n0spam.donireland.com>

| I need to automate the creation of a zip file. I have WinXP Home SP2 and
| usually use the XP method of creating zip files. But now I need to create a
| scheduled task that will wirte the contents of a directory to a zip file.
|
| Is there such an animal in XP?
|
| TIA!
|
| --
|
| Don I
|

You can use the original DOS PKZIP utilities...
http://www.census.gov/population/software/pkz204g.exe

or you can use the WinZIP Command Line utilities...
http://www.winzip.com/downcl.htm

--
Dave
http://www.claymania.com/removal-trojan-adware.html
http://www.ik-cs.com/got-a-virus.htm

Tom Porterfield
07-09-2005, 11:49 PM
On Sat, 28 May 2005 22:07:38 -0400, Don I wrote:

> I need to automate the creation of a zip file. I have WinXP Home SP2 and
> usually use the XP method of creating zip files. But now I need to create a
> scheduled task that will wirte the contents of a directory to a zip file.
>
> Is there such an animal in XP?

No, but here (http://www.info-zip.org/) is a free command line zip utility
that is 100% compatible with XP's zip utility.
--
Tom Porterfield
MS-MVP Windows
http://support.telop.org

Please post all follow-ups to the newsgroup only.

Stan Brown
07-09-2005, 11:49 PM
On Sat, 28 May 2005 22:07:38 -0400, "Don I"
<don.newsgroups@n0spam.donireland.com> wrote:

>I need to automate the creation of a zip file. I have WinXP Home SP2 and
>usually use the XP method of creating zip files. But now I need to create a
>scheduled task that will wirte the contents of a directory to a zip file.
>
>Is there such an animal in XP?

Not natively, but the free Info-ZIP programs will do the job; I use
them nearly every day.

http://www.info-zip.org/pub/infozip/#Downloads

Follow the link for ZIP and look for Win XP under ready-to-run
binaries -- you want zip231xn.zip. If you already have an unzipper,
such as the one in Windows, it will work just fine to extract the
program because Win XP uses the same form as Info-ZIP. Otherwise,
just repeat the download process for UNZIP and get unz532xn.exe,
which is a self-extracting EXE.

If you have Winzip, you can get its free command-line tool. I've
never used it, but Winzip is a high-quality program and I'm sure the
command-line tool is too.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
"I feel a wave of morning sickness coming on, and I want to
be standing on your mother's grave when it hits."


Make Zip Flie using command line?`