home bbs files messages ]

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,068 of 68,980   
   dr.j.r.stockton@gmail.com to All   
   ZIP a folder using a Batch File   
   01 Nov 17 16:00:42   
   
   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                                      |   
      
   --- 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