Guest helpme Posted August 18, 2007 Posted August 18, 2007 In Explorer I can create a "Compressed (zipped) Folder". Is there a way zip a bunch of files in cmd.exe?
Guest Vanguard Posted August 18, 2007 Posted August 18, 2007 Re: Can I Zip with cmd "helpme" wrote in message news:46C784B9.20507@me.com... > In Explorer I can create a "Compressed (zipped) Folder". > Is there a way zip a bunch of files in cmd.exe? Nope. The zip support is added by registering a DLL file to which an API was added to Windows Explorer to call methods (functions) from the DLL file. For DOS level support, find another zip tool, like 7-Zip (run "7z.exe" at the command line, and you may want to add its path to your system PATH environment variable).
Guest Newbie Coder Posted August 18, 2007 Posted August 18, 2007 Re: Can I Zip with cmd Help Me, Winzip has a command line utility: http://www.winzip.com/downcl.htm -- Newbie Coder (It's just a name) "helpme" <help@me.com> wrote in message news:46C784B9.20507@me.com... > In Explorer I can create a "Compressed (zipped) Folder". > Is there a way zip a bunch of files in cmd.exe?
Guest jameshanley39@yahoo.co.uk Posted August 19, 2007 Posted August 19, 2007 Re: Can I Zip with cmd On Aug 19, 12:46 am, helpme <h...@me.com> wrote: > In Explorer I can create a "Compressed (zipped) Folder". > Is there a way zip a bunch of files in cmd.exe? for history's sake, i'll mention that in the days of DOS, people used PKZIP and PKUNZIP . pkzip -rp blah <-- zip up all files including subdirectories , in blah.zip pkzip -rp -ex blah <-- ditto, but better compression, slightly slower. pkunzip -d blah.zip <-- unzip, and make subdirectories blah.zip could be replaced with *.zip or *.* , which can work as a shorthand if that's the only zip file you want unzipped. I think they were free then, no nag screens. Maybe there were shareware. In those days many didn't have internet access and were forced to get their information from , and only from, magazines. PKZIP tended to be on the cd. PKZIP and PKUNZIP are still available. And now there's a windows version of pkzip. But - maybe around windows 95 time, Winzip really took off, and released command line versions (of winzip). If you had googled, you'd have found.
Guest Uncle Grumpy Posted August 19, 2007 Posted August 19, 2007 Re: Can I Zip with cmd "jameshanley39@yahoo.co.uk" <jameshanley39@yahoo.co.uk> wrote: >for history's sake, i'll mention that in the days of DOS, people used >PKZIP and PKUNZIP . ahhh... those were the good old days. I think the aothor of those programs died from chronic alcoholism.
Guest Vanguard Posted August 19, 2007 Posted August 19, 2007 Re: Can I Zip with cmd <jameshanley39@yahoo.co.uk> wrote in message news:1187484787.334879.80180@g4g2000hsf.googlegroups.com... > > helpme wrote: >> >> In Explorer I can create a "Compressed (zipped) Folder". >> Is there a way zip a bunch of files in cmd.exe? > > for history's sake, i'll mention that in the days of DOS, people > used > PKZIP and PKUNZIP . PKzip did not come with DOS or Windows. It was and is a 3rd party program that the user has to install. I think the one that you are thinking of that was free was PKarc (http://en.wikipedia.org/wiki/Phil_Katz). When it became PKzip, it was shareware. There have been times when WinZip screws up, like saving the wrong hash value for a .zip file so it bitches when you try to extract (ignore and extract anyway). Happened for .zip archives over 4GB in size or with more the 64K entires (files). PKzip didn't have the problem (actually they enlarged their capacities before WinZip who has always been slow to fix reported and reproducible problems). When I had both PKzip and WinZip, PKzip was significantly faster. Both PKzip ($30) and WinZip ($30) cost money. There are several free alternatives now.
Guest helpme Posted August 19, 2007 Posted August 19, 2007 Re: Can I Zip with cmd Vanguard wrote: > Nope. The zip support is added by registering a DLL file to which an > API was added to Windows Explorer to call methods (functions) from the > DLL file. > > For DOS level support, find another zip tool, like 7-Zip (run "7z.exe" > at the command line, and you may want to add its path to your system > PATH environment variable). Thanks... I have 7zip on my system...somewhere... I'll take a look at the command line capabilities...
Guest jameshanley39@yahoo.co.uk Posted August 19, 2007 Posted August 19, 2007 Re: Can I Zip with cmd On Aug 19, 3:17 am, "Vanguard" <vangu...@mail.invalid> wrote: > <jameshanle...@yahoo.co.uk> wrote in message > > news:1187484787.334879.80180@g4g2000hsf.googlegroups.com... > > > > > helpme wrote: > > >> In Explorer I can create a "Compressed (zipped) Folder". > >> Is there a way zip a bunch of files in cmd.exe? > > > for history's sake, i'll mention that in the days of DOS, people > > used > > PKZIP and PKUNZIP . > > PKzip did not come with DOS or Windows. oh shut up
Guest jameshanley39@yahoo.co.uk Posted August 19, 2007 Posted August 19, 2007 Re: Can I Zip with cmd On Aug 19, 3:17 am, "Vanguard" <vangu...@mail.invalid> wrote: > <jameshanle...@yahoo.co.uk> wrote in message > > news:1187484787.334879.80180@g4g2000hsf.googlegroups.com... > > > > > helpme wrote: > > >> In Explorer I can create a "Compressed (zipped) Folder". > >> Is there a way zip a bunch of files in cmd.exe? > > > for history's sake, i'll mention that in the days of DOS, people > > used > > PKZIP and PKUNZIP . > <snip> > I think the one that you are > thinking of that was free was PKarc That didn't come with DOS or Windows either. It was third party (that is meant as an equally ridiculous retort - and yes, it's true). I hadn't actually heard of PKARC. In those days, my information was limited to some rubbish expensive monthly magazines. I used the shareware PKZIP, but the shareware was friendly enough that it didn't nag. Maybe it mentioned it somewhere in pkzip /?, but it's not something that stuck in my mind, so I barely noticed it then even if I did. A bit like DOOM - same era too. > (http://en.wikipedia.org/wiki/Phil_Katz). When it became PKzip, it > was shareware. > > There have been times when WinZip screws up, like saving the wrong > hash value for a .zip file so it bitches when you try to extract > (ignore and extract anyway). Happened for .zip archives over 4GB in > size or with more the 64K entires (files). PKzip didn't have the > problem (actually they enlarged their capacities before WinZip who has > always been slow to fix reported and reproducible problems). When I > had both PKzip and WinZip, PKzip was significantly faster. > > Both PKzip ($30) and WinZip ($30) cost money. There are several free > alternatives now. Many people tend to use winzip despite the nag screen, and some still don't realise it's shareware! I can't remember why I quit using 7zip, maybe 'cos when I tried it didn't have all the features unless i installed 3rd party progs, i'm not sure. I'm sure I tried some decompression programs that try to be "all things to all men" but they didn't really deliver. Winrar looked far superior in GUI to winzip, but I can't remember why, maybe I found its handling of ISOs to be inferior, or I got errors. In the end I decided all I need is the right click - shell extension. No need for the whole GUI. I guess it's good for that. But for ISOs i'd use other payware like MagicISO or UltraISO. I don't need all the alternatives to ZIP. ZIP and ISO are fine. And i don't like programs that associate themselves with ISOs, or even have features that deal with ISOs, but don't handle them so well. I can't remember exactly what issues I ran into, prob 'cos i didn't want to remember (why remember all the issues of bad alternatives, it's endless, and you don't want to seek an encyclopedic knowledge of that!). But I didn't keep those programs for long.
Guest Gary S. Terhune Posted August 19, 2007 Posted August 19, 2007 Re: Can I Zip with cmd LOL! "Better to keep one's mouth shut and have people think you're dumb than to open it and remove all doubt." -- Gary S. Terhune MS-MVP Shell/User http://www.grystmill.com <jameshanley39@yahoo.co.uk> wrote in message news:1187493343.902671.122060@r29g2000hsg.googlegroups.com... > On Aug 19, 3:17 am, "Vanguard" <vangu...@mail.invalid> wrote: >> <jameshanle...@yahoo.co.uk> wrote in message >> >> news:1187484787.334879.80180@g4g2000hsf.googlegroups.com... >> >> >> >> > helpme wrote: >> >> >> In Explorer I can create a "Compressed (zipped) Folder". >> >> Is there a way zip a bunch of files in cmd.exe? >> >> > for history's sake, i'll mention that in the days of DOS, people >> > used >> > PKZIP and PKUNZIP . >> >> PKzip did not come with DOS or Windows. > > oh shut up >
Guest Ken Blake, MVP Posted August 19, 2007 Posted August 19, 2007 Re: Can I Zip with cmd On Sat, 18 Aug 2007 17:53:07 -0700, "jameshanley39@yahoo.co.uk" <jameshanley39@yahoo.co.uk> wrote: > for history's sake, i'll mention that in the days of DOS, people used > PKZIP and PKUNZIP . If we're talking about history, I'll mention that the "PK" of PKZip stood for Phil Katz, the man who invented the zip format and wrote PKZIP and PKUNZIP. -- Ken Blake, Microsoft MVP Windows - Shell/User Please Reply to the Newsgroup
Guest jameshanley39@yahoo.co.uk Posted August 19, 2007 Posted August 19, 2007 Re: Can I Zip with cmd On Aug 19, 4:59 am, "Gary S. Terhune" <none> wrote: > LOL! > > "Better to keep one's mouth shut and have people think you're dumb than to > open it and remove all doubt." > > -- > Gary S. Terhune > MS-MVP Shell/User > http://www.grystmill.com > Well you've failed your own test then. Furthermore, don't top post. <snip>
Guest Gary S. Terhune Posted August 19, 2007 Posted August 19, 2007 Re: Can I Zip with cmd Oh, I see. Another bottom-posting Nazi. In case it passed you, I was referring to Vanguard, who's first assertion removed any desire to read the rest of his post. -- Gary S. Terhune MS-MVP Shell/User http://www.grystmill.com <jameshanley39@yahoo.co.uk> wrote in message news:1187496894.846727.27260@a39g2000hsc.googlegroups.com... > On Aug 19, 4:59 am, "Gary S. Terhune" <none> wrote: >> LOL! >> >> "Better to keep one's mouth shut and have people think you're dumb than >> to >> open it and remove all doubt." >> >> > -- >> Gary S. Terhune >> MS-MVP Shell/User >> http://www.grystmill.com >> > > Well you've failed your own test then. > > Furthermore, don't top post. > > <snip> > > >
Guest Curt Christianson Posted August 19, 2007 Posted August 19, 2007 Re: Can I Zip with cmd Ken, If you hadn't dated yourself the other night when you mentioned your age, you sure did now! <rvvf> -- HTH, Curt Windows Support Center http://www.aumha.org Practically Nerded,... http://dundats.mvps.org/Index.htm "Ken Blake, MVP" <kblake@this.is.am.invalid.domain> wrote in message news:2ogfc3l12a21t6t7a5rslefjb5l19blif9@4ax.com... | On Sat, 18 Aug 2007 17:53:07 -0700, "jameshanley39@yahoo.co.uk" | <jameshanley39@yahoo.co.uk> wrote: | | | > for history's sake, i'll mention that in the days of DOS, people used | > PKZIP and PKUNZIP . | | | If we're talking about history, I'll mention that the "PK" of PKZip | stood for Phil Katz, the man who invented the zip format and wrote | PKZIP and PKUNZIP. | | -- | Ken Blake, Microsoft MVP Windows - Shell/User | Please Reply to the Newsgroup
Guest Gary S. Terhune Posted August 19, 2007 Posted August 19, 2007 Re: Can I Zip with cmd Anyway, my apologies to Vanguard. I realize, after thinking about it, that his was a simple misunderstanding. My adding to your own insult was uncalled for. -- Gary S. Terhune MS-MVP Shell/User http://www.grystmill.com <jameshanley39@yahoo.co.uk> wrote in message news:1187496894.846727.27260@a39g2000hsc.googlegroups.com... > On Aug 19, 4:59 am, "Gary S. Terhune" <none> wrote: >> LOL! >> >> "Better to keep one's mouth shut and have people think you're dumb than >> to >> open it and remove all doubt." >> >> > -- >> Gary S. Terhune >> MS-MVP Shell/User >> http://www.grystmill.com >> > > Well you've failed your own test then. > > Furthermore, don't top post. > > <snip> > > >
Guest HeyBub Posted August 19, 2007 Posted August 19, 2007 Re: Can I Zip with cmd helpme wrote: > In Explorer I can create a "Compressed (zipped) Folder". > Is there a way zip a bunch of files in cmd.exe? No, but there are hundreds of free utilities to do the job: http://www.google.com/search?sourceid=navclient&ie=UTF-8&rls=GGLJ,GGLJ:2006-43,GGLJ:en&q=command+line+zip
Guest Luigi M Bianchi Posted August 20, 2007 Posted August 20, 2007 Re: Can I Zip with cmd Has everybody forgotten about InfoZip: http://www.info-zip.org/ Get zip and unzip. They include command-line "free, portable, high- quality versions of the Zip and UnZip compressor-archiver utilities that are compatible with the DOS-based PKZIP by PKWARE, Inc." /luigi "HeyBub" <heybub@gmail.com> wrote in news:efxUQJo4HHA.5164@TK2MSFTNGP05.phx.gbl: > helpme wrote: >> In Explorer I can create a "Compressed (zipped) Folder". >> Is there a way zip a bunch of files in cmd.exe? > > No, but there are hundreds of free utilities to do the job: > > http://www.google.com/search?sourceid=navclient&ie=UTF-8 &rls=GGLJ,GGLJ: > 2006-43,GGLJ:en&q=command+line+zip > > > -- Luigi M Bianchi Toronto, Ontario, Canada
Guest Ken Blake Posted August 20, 2007 Posted August 20, 2007 Re: Can I Zip with cmd "Curt Christianson" <curtchristnsn@NOSPAM.Yahoo.com> wrote in message news:%23dIdssh4HHA.4476@TK2MSFTNGP06.phx.gbl... > Ken, > > If you hadn't dated yourself the other night when you mentioned your age, > you sure did now! <rvvf> Not a problem to me. I've never been one to hide or be ashamed of my age. ;-) You want more dating? I started programming professionally in 1962! ;-) -- Ken Blake - Microsoft MVP Windows: Shell/User Please reply to the newsgroup > "Ken Blake, MVP" <kblake@this.is.am.invalid.domain> wrote in message > news:2ogfc3l12a21t6t7a5rslefjb5l19blif9@4ax.com... > | On Sat, 18 Aug 2007 17:53:07 -0700, "jameshanley39@yahoo.co.uk" > | <jameshanley39@yahoo.co.uk> wrote: > | > | > | > for history's sake, i'll mention that in the days of DOS, people used > | > PKZIP and PKUNZIP . > | > | > | If we're talking about history, I'll mention that the "PK" of PKZip > | stood for Phil Katz, the man who invented the zip format and wrote > | PKZIP and PKUNZIP. > | > | -- > | Ken Blake, Microsoft MVP Windows - Shell/User > | Please Reply to the Newsgroup > >
Guest Curt Christianson Posted August 21, 2007 Posted August 21, 2007 Re: Can I Zip with cmd Ken, In all seriousness, I am impressed. Boy, have *you* seen some changes! -- HTH, Curt Windows Support Center http://www.aumha.org Practically Nerded,... http://dundats.mvps.org/Index.htm "Ken Blake" <kblake@this.is.an.invalid.domain> wrote in message news:ObzegE24HHA.4584@TK2MSFTNGP03.phx.gbl... | "Curt Christianson" <curtchristnsn@NOSPAM.Yahoo.com> wrote in message | news:%23dIdssh4HHA.4476@TK2MSFTNGP06.phx.gbl... | > Ken, | > | > If you hadn't dated yourself the other night when you mentioned your age, | > you sure did now! <rvvf> | | | Not a problem to me. I've never been one to hide or be ashamed of my age. | ;-) | | You want more dating? I started programming professionally in 1962! ;-) | | -- | Ken Blake - Microsoft MVP Windows: Shell/User | Please reply to the newsgroup | | | > "Ken Blake, MVP" <kblake@this.is.am.invalid.domain> wrote in message | > news:2ogfc3l12a21t6t7a5rslefjb5l19blif9@4ax.com... | > | On Sat, 18 Aug 2007 17:53:07 -0700, "jameshanley39@yahoo.co.uk" | > | <jameshanley39@yahoo.co.uk> wrote: | > | | > | | > | > for history's sake, i'll mention that in the days of DOS, people used | > | > PKZIP and PKUNZIP . | > | | > | | > | If we're talking about history, I'll mention that the "PK" of PKZip | > | stood for Phil Katz, the man who invented the zip format and wrote | > | PKZIP and PKUNZIP. | > | | > | -- | > | Ken Blake, Microsoft MVP Windows - Shell/User | > | Please Reply to the Newsgroup | > | > | |
Guest Vanguard Posted August 21, 2007 Posted August 21, 2007 Re: Can I Zip with cmd "Gary S. Terhune" <none> wrote in message news:O9CPcVh4HHA.3716@TK2MSFTNGP03.phx.gbl... > LOL! > > "Better to keep one's mouth shut and have people think you're dumb > than to open it and remove all doubt." You're mangling my quote, which is: "It is wiser to remain quiet and let others ponder your ignorance rather than open your mouth and remove all doubt."
Guest Gary S. Terhune Posted August 21, 2007 Posted August 21, 2007 Re: Can I Zip with cmd That one's been around for so long that it's gone through dialectical changes depending on region. For my locale, my version is much better understood. Besides, I like the double entendre of the word "dumb". -- Gary S. Terhune MS-MVP Shell/User http://www.grystmill.com "Vanguard" <vanguard@mail.invalid> wrote in message news:u$eHnS64HHA.1484@TK2MSFTNGP06.phx.gbl... > "Gary S. Terhune" <none> wrote in message > news:O9CPcVh4HHA.3716@TK2MSFTNGP03.phx.gbl... >> LOL! >> >> "Better to keep one's mouth shut and have people think you're dumb than >> to open it and remove all doubt." > > > You're mangling my quote, which is: > > "It is wiser to remain quiet and let others ponder your ignorance rather > than open your mouth and remove all doubt."
Guest Vanguard Posted August 21, 2007 Posted August 21, 2007 Re: Can I Zip with cmd "Ken Blake" wrote in message news:ObzegE24HHA.4584@TK2MSFTNGP03.phx.gbl... > > "Curt Christianson" wrote ... >> >> If you hadn't dated yourself the other night when you mentioned >> your age, >> you sure did now! <rvvf> > > Not a problem to me. I've never been one to hide or be ashamed of my > age. I still remember writing in machine code and having to use either punch cards or tape with teletypes. I remember the Altair kits for the joy of flipping paddles switches to code in the bits and then latching them into memory to manually code your tiny program. Remember when Heathkit showed up? Woohoo.
Guest Vanguard Posted August 21, 2007 Posted August 21, 2007 Re: Can I Zip with cmd <jameshanley39@yahoo.co.uk> wrote in message news:1187495030.066742.46980@k79g2000hse.googlegroups.com... > > "Vanguard" wrote: >> <jameshanle...@yahoo.co.uk> wrote in message >> >> news:1187484787.334879.80180@g4g2000hsf.googlegroups.com... >> >> >> >> > helpme wrote: >> >> >> In Explorer I can create a "Compressed (zipped) Folder". >> >> Is there a way zip a bunch of files in cmd.exe? >> >> > for history's sake, i'll mention that in the days of DOS, people >> > used >> > PKZIP and PKUNZIP . >> > > <snip> > >> I think the one that you are >> thinking of that was free was PKarc > > That didn't come with DOS or Windows either. It was third party > (that > is meant as an equally ridiculous retort - and yes, it's true). I was mostly addressing your comment that PKZIP was free. When it was first PKarc, it was free. When it changed to PKZip (because SEA sued Katz over stealing their code from ARC so Katz had to rewrite his program and decided to make money on his popularity), it became shareware - which is not free but often allows users to steal the product beyond the trial period. > Many people tend to use winzip despite the nag screen, and some > still > don't realise it's shareware! When visiting http://www.winzip.com/, how is it possible to miss all pricings, "Trial", and "WinZip is NOT Free Software"? If you go to download sites, like download.com, it is listed as "free to try, $29.95 to buy" or as trialware or shareware. The only people that miss that it is commercialware are the people that have no intention on buying the product (i.e., they know they are stealing). Unlike many commercial products with trial periods, WinZip doesn't (or it didn't when I last used it) cripple or disable itself when the trial period ends, and that promotes users to steal. > In the end I decided all I need is the right click - shell > extension. > No need for the whole GUI. I guess it's good for that. > > But for ISOs i'd use other payware like MagicISO or UltraISO. I never let any program that wants to usurp filetype associations do so carte blanche. If prompted, I say no. Then I go into the program's options and choose which filetypes that *I* want associated to the newly installed program. I don't even have 7-zip associated with .zip file. For me, 7-zip is not associated to any filetype. Like you, I just use the context menu on an object (drive, folder, or file) to perform a file archiving operation using 7-zip. > I don't need all the alternatives to ZIP. ZIP and ISO are fine. If your entire computing experience in files received from others or the OS platforms that you use is limited solely to Windows then you probably don't need more than .zip support. .rar shows up occasionally even in an all-Windows environment. However, if you deal with users of other OS platforms, like UNIX, or you use them yourself, then you'll want support for .tar and .gz. Having support for more archive/compression formats does nothing to make the program more difficult. Nothing changes in the UI or options within the program. I don't ever recall PKZip, WinZip, or 7-Zip changing their UI or the available operations because of using a different archive format. However, most of the Windows archive programs will handle the UNIX formats but they still will only produce .zip files (i.e., they are oriented to producing .zip files on Windows).
Guest Plato Posted August 21, 2007 Posted August 21, 2007 Re: Can I Zip with cmd helpme wrote: > > In Explorer I can create a "Compressed (zipped) Folder". > Is there a way zip a bunch of files in cmd.exe? ..zip programs: The original: http://www.bootdisk.com/dostools.htm More - pkunzip Another, way more modern: http://www.ultimatezip.com/download.htm -- http://www.bootdisk.com/
Guest Plato Posted August 21, 2007 Posted August 21, 2007 Re: Can I Zip with cmd jameshanley39@yahoo.co.uk wrote: > > > In Explorer I can create a "Compressed (zipped) Folder". > > Is there a way zip a bunch of files in cmd.exe? > > for history's sake, i'll mention that in the days of DOS, people used > PKZIP and PKUNZIP . Interestingly, even tho I run a website that is just starting to support Vista, I still use pkzip ver 2.04g [the last version as far as I know] to zip all the files I have for download. I suppose it's a case of "if it aint broke, dont fix it" as I've never in 8 years ever had sombody complain to me that the .zip file they downloaded from me didn't work. -- http://www.bootdisk.com/
Recommended Posts