MS OS - Microsoft Forum to Usenet Gateway Header Right
Navbar Left Navbar Right


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



Reply
Old 11-10-2008, 10:25 AM   #1
mcnews
Guest
 
Posts: n/a
Default compress with batch file

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

tia,
mcnewsxp
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-10-2008, 10:47 AM   #2
Big_Al
Guest
 
Posts: n/a
Default Re: compress with batch file

mcnews wrote:
> 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.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 11-10-2008, 10:51 AM   #3
Bob I
Guest
 
Posts: n/a
Default Re: compress with batch file

Use the GUI interface OR a 3rd party ZIPping tool

mcnews wrote:

> how to create zip files with batch file?
> what command zips files on xp?
>
> tia,
> mcnewsxp


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-10-2008, 11:14 AM   #4
3c273
Guest
 
Posts: n/a
Default Re: compress with batch file

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

"mcnews" <mcourter@mindspring.com> wrote in message
news:928e6f76-bb71-4598-815e-81e55664332c@n33g2000pri.googlegroups.com...
> how to create zip files with batch file?
> what command zips files on xp?
>
> tia,
> mcnewsxp



 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-10-2008, 12:39 PM   #5
duke
Guest
 
Posts: n/a
Default Re: compress with batch file

On Nov 10, 8:25 am, mcnews <mcour...@mindspring.com> wrote:
> 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
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-10-2008, 12:49 PM   #6
mcnews
Guest
 
Posts: n/a
Default Re: compress with batch file

On Nov 10, 10:25*am, mcnews <mcour...@mindspring.com> wrote:
> 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.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-10-2008, 03:24 PM   #7
Bob I
Guest
 
Posts: n/a
Default Re: compress with batch file



mcnews wrote:
> On Nov 10, 10:25 am, mcnews <mcour...@mindspring.com> wrote:
>
>>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.


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

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
calling multiple batch files from within a batch file yawnmoth Windows XP 3 05-26-2008 01:47 PM
File Not found or no read permission when try to compress file. Eskimosound Windows XP 0 04-11-2008 06:11 PM
Batch file works in command line but not as a batch Danger Windows XP 7 02-05-2008 11:50 AM
Compress and zip File W. Watson Windows XP 1 12-14-2007 12:37 PM
How to compress one large file to multiple files TEN Windows Vista 8 10-15-2007 08:39 PM


All times are GMT -5. The time now is 04:39 PM.


Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Skin designed by CompletevB
Copyright © 2005-2008 Robert Schwarz, Sr. - All rights reserved - MS OS is an independent web site and is not affiliated with Microsoft Corporation.