| View previous topic :: View next topic |
| Author |
Message |
sleepyy35
Joined: 22 Jul 2004 Posts: 194 Location: cedar city UT
|
Posted: Tue Mar 08, 2005 5:14 am Post subject: Search multiple files |
|
|
HI ALL
i was wondering if there was a way to search multiple files with one loop or would i have to use a loop for each file ?
thank you ! _________________ ^sleepy^ |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3841 Location: Bremen, Germany
|
Posted: Tue Mar 08, 2005 9:01 am Post subject: |
|
|
You could use a loop in a loop.
Something like this:
Loop, Parse, %ListOfFiles%,|
{
Loop, Read, %A_LoopField%
{
[...]
}
} _________________ Ciao
toralf  |
|
| Back to top |
|
 |
ILL.1
Joined: 29 Sep 2004 Posts: 84
|
Posted: Tue Mar 08, 2005 12:44 pm Post subject: |
|
|
On a *nix machine, you use grep, so I'm sure if you searched for windows and grep you could find a command line tool. I just don't know of one to recommend. This is Bobo's field. _________________ ===============
----------ILL.1-----------
=============== |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Tue Mar 08, 2005 4:12 pm Post subject: |
|
|
| Since this ports package has solved so many problems on this forum, I've finally posted it here. I haven't compiled a decent description for it yet, but download it from the page I link to and you'll find grep.exe in it. |
|
| Back to top |
|
 |
sleepyy35
Joined: 22 Jul 2004 Posts: 194 Location: cedar city UT
|
Posted: Tue Mar 08, 2005 8:26 pm Post subject: |
|
|
ok thanks guys for the info i'm going to give it a try  _________________ ^sleepy^ |
|
| Back to top |
|
 |
|