VBScript to search a text file

I'm looking for a VBScript that I can use to search all of my domain computers for a certain text-based file. If that file exists, I'll need for the script to read the text file, search for a specific line, and then output the contents of that specific line to a new text file. Does anyone have such a script that I could modify for my purposes? Thanks.
mcpp661Asked:
Who is Participating?
 
mcpp661Connect With a Mentor Author Commented:
I already found a file that I modified to my own needs. Thanks anyhow for the response.
0
 
prashanthdCommented:
Search is very resource intense, would you know the filepath?

Can you give full specifications with sample data, file name etc..
0
 
mcpp661Author Commented:
I found my own solution.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.