The resulting found.txt file only lists the last instance found. Also, I am now looking into creating a batch file that will 1) find all forward.ima that contain a @aol.com address, 2) create a report file of them and 3) replace that forward.ima file with one that is blank.
Any ideas? John Tolmachoff Engineer/Consultant/Owner eServices For You > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:Declude.JunkMail- > [EMAIL PROTECTED] On Behalf Of Sanford Whiteman > Sent: Saturday, July 17, 2004 11:45 PM > To: John Tolmachoff (Lists) > Subject: Re: [Declude.JunkMail] OT: find command > > > The idea is to search all subdirectories of the current director for > > forward.ima and look to see if @aol.com is in there. > > To keep it Windows-y (sorry, Bill): > > FOR /F %i in ('dir forward.ima /x /b /s') DO FIND "@aol.com" %i > >>found.txt > > --Sandy > > > ------------------------------------ > Sanford Whiteman, Chief Technologist > Broadleaf Systems, a division of > Cypress Integrated Systems, Inc. > e-mail: [EMAIL PROTECTED] > > SpamAssassin plugs into Declude! > http://www.mailmage.com/products/software/freeutils/SPAMC32/download/release / > > Defuse Dictionary Attacks: Turn Exchange Addresses into IMail Aliases! > > http://www.mailmage.com/products/software/freeutils/exchange2aliases/downloa d/re > lease/ > > --- > [This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)] > > --- > This E-mail came from the Declude.JunkMail mailing list. To > unsubscribe, just send an E-mail to [EMAIL PROTECTED], and > type "unsubscribe Declude.JunkMail". The archives can be found > at http://www.mail-archive.com. --- [This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)] --- This E-mail came from the Declude.JunkMail mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe Declude.JunkMail". The archives can be found at http://www.mail-archive.com.
