Then New Mexico Marks reply is what you need

For Example

Code:
  


Open (1,"C:\temp\the name of your text file.txt")
Do
$MyStr= ReadLine(1)
If exist($MyStr)
;do whatever
Endif

Until $MyStr=""


_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields