Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

search log file

Status
Not open for further replies.

Patrick123

Technical User
Apr 8, 2003
15
0
0
NL
Hi,

I have a script that opens a logfile, and also adds a new line to it,
I am using the AtEndOfStream command to go to the bottom line of the log file, but now I want to search for a specific word from the bottom line up, how can I arrange this ?

I know about the Skip and SkipLine commands, but I want to search the other way around, to the top of the file.

any suggestions ?

thanks

Patrick
 
Perhaps you have to consider the ReadAll method

Hope This Help
PH.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top