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,172 of 42,547    |
|    blinkingblythe01@gmail.com to All    |
|    Re: FIND with double text    |
|    17 Jul 15 12:34:14    |
      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              --- 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