Link to home
Start Free TrialLog in
Avatar of tocfm
tocfm

asked on

Search text file, output to ie7 popup box

Hello all,
  I have 6 items that I have to search a text file everyday, if these are found, I copy/paste the details of the line (its all the same line) to another file that I send out for a report.  I'm thinking there has to be a much better, more elegant way than the manual method I am employing now.     I have absolutely no idea where to begin with vbscript.  Ideally what i would like is to declare the constants (6 items I spoke of) and search filename.txt for them, if found output the line to either a different text file, or to an IE popup box, if not found, echo "Not Found" to that same medium.

Make any sense to anyone besides me?  :)

Thanks in advance!
ASKER CERTIFIED SOLUTION
Avatar of purplepomegranite
purplepomegranite
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tocfm
tocfm

ASKER

exactly what I was looking for, thank you very very much!