NetworkGhost
IS-IT--Management
What i am trying to do is us the DOS Find command to search trhoguh some log files. That workes great. What I would really like is once I get a line match on my search string is to pull 2 lines above an 7 lines below. So if I was seraching for the word cat in a log file I would get:
dog
bird
cat
chicken
chicken
chicken
chicken
chicken
chicken
chicken
Is there a way to do this with VB script?
dog
bird
cat
chicken
chicken
chicken
chicken
chicken
chicken
chicken
Is there a way to do this with VB script?