Click to See Complete Forum and Search --> : Searching text in a file


Arun Mittal
September 8th, 2001, 09:25 AM
Hi,
I want to search a text in all the files in a directry.Please tell me if there is any easy way to do that.
Thanks,
-arun

makai
September 8th, 2001, 12:11 PM
get the files in the director one at a time - the Dir$ function will do that

then Open For Input the file and read into a string variable with the Input Function

then use Instr Function to find your search string