Sign in to follow this  
Followers 0
shivan82

Search for text within a single log file

8 posts in this topic

How would I do this?

Share this post


Link to post
Share on other sites



Magic!

Share this post


Link to post
Share on other sites

I prefer the hocus pocus kind. :)

Share this post


Link to post
Share on other sites

Could someone post a few lines of code as an example? Just a simple open X file and search for "Y" text.

Share this post


Link to post
Share on other sites

Could someone post a few lines of code as an example? Just a simple open X file and search for "Y" text.

it would be something like this:

$Contents = FileRead("c:\log.txt")
$location = StringInStr($contents,"Y")
If $location Then MsgBox(0,"Found","The search string is in the log")

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

Thanks!! :)

Share this post


Link to post
Share on other sites

Thanks!! :)

no problem, glad to help

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0