Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Retriving data from a text file using vbs

$
0
0

Hi all,

Im relatively new at this, but want to delve right into it.

I need to look for a string of text in a log file.

When that string of text is found, I want to get the next 4 lines of text immediately after, see my example below:

Example found text string
first line after found string
second line after found string
third line after found string
forth line after found string

any help would be greatly appreciated,

thanks,

Fultz.

 


Have a good day.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>