compress with batch file

M

mcnews

how to create zip files with batch file?
what command zips files on xp?

tia,
mcnewsxp
 
B

Big_Al

mcnews said:
how to create zip files with batch file?
what command zips files on xp?

tia,
mcnewsxp

PKZIP for XP has always been a GUI program. Thus making batch file a
bit harder.
I did download an optional addon for PKZIP to make a command line.
Once you get that far its rather simple. Maybe your version works as
is, just try.

Its
PKZIP -a [zipfilename] [list of files or folders to include]

like
pkzip -a myzip.zip *.bat

I don't have winzip loaded any more, I've been hooked on winrar and use
it so much, but it too has a command line.

winrar a myrar.rar *.bat

So depends on what you have installed.
 
3

3c273

You need a third party zip utility (7-zip is free). Install 7-zip and copy
the command line utility, 7z.exe, to your system32 folder and type "7z" at a
command prompt for options.
Louis
 
D

duke

how to create zip files with batch file?
what command zips files on xp?

tia,
mcnewsxp

Look into using pkzipc which is the command line version of pkzip.
I designed a backup program around it and It works really great.

Duke
 
M

mcnews

how to create zip files with batch file?
what command zips files on xp?

what i am looking for is how to use the win xp util that is run by
right clicking on a file or files and selecting Send to | Compressed
(zipped) folder.
 
B

Bob I

mcnews said:
what i am looking for is how to use the win xp util that is run by
right clicking on a file or files and selecting Send to | Compressed
(zipped) folder.

You won't find that. Move on to other suggestions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top