----- Original Message ----- 
From: "John Tolmachoff (Lists)" <[EMAIL PROTECTED]>


> Is it possible to use the * in the find command?
>
> Example:
> Find "@aol.com" \*\forward.ima >found.txt
>
> The idea is to search all subdirectories of the current director for
> forward.ima and look to see if @aol.com is in there.

Try:

* dir /S c:\imail | grep Directory | gawk "{print $1,$3,$2}" | sed
"s/Directory/grep aol\\.com/g" | sed "s/ of/\\forward\.ima/g" > aol-find.bat
* aol-find.bat > aol-temp.txt
* grep matches aol-temp.txt | gawk "{print $3}" > aol-found.txt

Watch for word-wrapping - for ease of determining lines starts, I've added a
* (be sure to remove the *).  Adjust path to your IMail directory or
appropriate sub-directory.

Bill

---
[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.

Reply via email to