Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 41,556 of 42,547    |
|    Herbert Kleebauer to Jean-Pierre Coulon    |
|    Re: How can I cause "?" to represent rea    |
|    12 Aug 17 17:57:13    |
   
   From: klee@unibwm.de   
      
   On 12.08.2017 15:57, Jean-Pierre Coulon wrote:   
      
   > Sorry, I made the guess you know 7za. 7za -a myzipped.zip chunk stuff zips   
   > chunk and stuff into myzipped.zip. So I would like 7za a myzipped.zip   
   > p???.tif to work like 7za a myzipped.zip p100.tif p101.tif p102.tif etc.   
      
   Both versions I gave you should work (the second maybe is faster) :   
      
      
   @echo off   
   for /f %%i in ('dir /b *.tif ^|findstr "p...[.]tif"') do 7za a myzipped.zip %%i   
      
      
   @echo off   
   dir /b |findstr "p...[.]tif">listfile.txt   
   7za a myzipped.zip @listfile.txt   
   del listfile.txt   
      
   --- 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