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,175 of 42,547   
   Tom Dadey to blinking...@gmail.com   
   Re: FIND with double text   
   18 Jul 15 07:56:15   
   
   From: tomdzip1@gmail.com   
      
   On Friday, July 17, 2015 at 3:29:59 PM UTC-4, blinking...@gmail.com wrote:   
   > How about something like this:   
   >   
   > @echo off   
   > :: dblfind.bat   
   > ::   
   > :: extract a line containing two specified   
   > :: keywords.   
   > find "(whatevertime)" 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   
      
   Doesn't OP want any line BEGINNING with. not containing key words??   
      
   --- 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