AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search multiple files

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
sleepyy35



Joined: 22 Jul 2004
Posts: 194
Location: cedar city UT

PostPosted: Tue Mar 08, 2005 5:14 am    Post subject: Search multiple files Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
toralf



Joined: 31 Jan 2005
Posts: 3841
Location: Bremen, Germany

PostPosted: Tue Mar 08, 2005 9:01 am    Post subject: Reply with quote

You could use a loop in a loop.

Something like this:

Loop, Parse, %ListOfFiles%,|
{
Loop, Read, %A_LoopField%
{
[...]
}
}
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ILL.1



Joined: 29 Sep 2004
Posts: 84

PostPosted: Tue Mar 08, 2005 12:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Tue Mar 08, 2005 4:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
sleepyy35



Joined: 22 Jul 2004
Posts: 194
Location: cedar city UT

PostPosted: Tue Mar 08, 2005 8:26 pm    Post subject: Reply with quote

ok thanks guys for the info i'm going to give it a try Smile
_________________
^sleepy^
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group