Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 67,076 of 68,980    |
|    npocmaka to dr.j.r....@gmail.com    |
|    Re: ZIP a folder using a Batch File    |
|    02 Nov 17 07:51:57    |
      From: npocmaka@gmail.com              On Thursday, November 2, 2017 at 1:00:43 AM UTC+2, dr.j.r....@gmail.com wrote:       > I have a Batch file, for Win XP and hopefully higher, which creates, on a       USB memory stick, a single folder FRED containing a selection of data files       from the originating Windows C drive.       >        > I can see, but not remember, how to copy the folder FRED and all of its       contents into a compressed folder PETE, by poking Windows with the mouse in       suitable places.       >        > So I want a batch file WILL.BAT which, called with arguments FRED and PETE,       with FRED already created, will give me a corresponding compressed folder       PETE, whether or not PETE already exists. I can then, I suppose, E-mail PETE       as a single attachment.        The delivered PETE must, with simple mouse-poking of the recipient Windows,       produce a folder matching the original FRED.       >        > I'm thinking of ZIP compression, but the type and efficiency are not       important; but both packing and unpacking must use native windows features.       >        > I know not where to start ...       >        > --        > (c) John Stockton, near London, UK. Using Google, no spell-check. |       > Mail: J.R.""""""""@physics.org |              Have you checked this -> https://stackoverflow.com/questions/280       3589/how-can-i-compress-zip-and-uncompress-unzip-files-and-folders-with-bat ?              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca