home bbs files messages ]

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,173 of 42,547   
   Todd Vargo to blinkingblythe01@gmail.com   
   Re: FIND with double text   
   18 Jul 15 00:17:53   
   
   From: tlvargo@sbcglobal.netz   
      
   On 7/17/2015 3:34 PM, blinkingblythe01@gmail.com wrote:   
   > How about something like this:   
   >   
   > @echo off   
   > :: extract a line containing two specified   
   > :: keywords   
   > find "(whateverfromname)" c:\data.txt>c:\temp\$temp.txt   
   > find "(whateverdate)" c:\temp\$temp.txt | more   
   > :: pipesymbol more can be replaced with   
   > :: something more useful such as >finalfile.txt   
   > del c:\temp\$temp.txt   
   >   
      
   How about trying it before posting? Paste headers from several emails   
   into data.txt, run your code on it, evaluate if it meets the OP's posted   
   requirements, then report back on your results. Undoubtedly, you (along   
   with the OP) will be disappointed with the results.   
      
   --   
   Todd Vargo   
   (Post questions to group only. Remove "z" to email personal messages)   
      
   --- 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