compress with batch file

  • Thread starter Thread starter mcnews
  • Start date Start date
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.
 
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
 
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
 
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.
 
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

Similar Threads

create a print share 2
Compressed (zipped) Folder - command line variant? 9
7-Zip Problem 3
compressing file 4
automate FTP 3
ftp prevent folder creation 2
batch file 1
Quirky behaviour of batch file 2

Back
Top