Hello Mike,
 
Thank you for your help! I'll give it a shot, and let you know how it pans out.
 
Rick Sanders

Rick,
 
If you have Tango running on a Windows NT/2000 box, I would do the following:
  • Use an External Command Action in Tango to execute the following string as a command line: {FIND /I /C "search text" *.html >logfile.txt}
  • Use a File Action in Tango to read the "logfile.txt" contents into a variable
  • Manipulate the results accordingly depending on what information you need to display. File names would be very easy to pick apart.
If this is something that needs multi-user consideration, redirect the results into a random temporary file, and then delete it when you are finished reading the information from it into Tango.
 
See how this works.
 
Mike
-----Original Message-----
From: Rick Sanders [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 9:54 AM
To: [EMAIL PROTECTED]
Subject: Witango-Talk: Searching files

Hello list,
 
I'm wondering if this is at all possible.
 
I need to search all the .html files in a directory to see if they contain a certain keyword.
 
I've tried a file read action using *.html and that didn't work. So, my question is if there's a wildcard option I can use to make the application search through the html pages and then pull the results.
 
Thanks in advance,
 
Rick Sanders
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to