Jump to content

Count Binary Lines?


Recommended Posts

I'm trying to count the lines of a compiled exe application, but the _FileCountLines function does not work with that. Does anyone know how I could do this?

Only text file have the concept of a "line."
Link to comment
Share on other sites

If you are referring to randallc's example, I've updated the link to a newer version. The 2nd link to zorphnog's example definately works. Of course it only gets you the end chunk of the file which you will have to extract your expected strings from.

Link to comment
Share on other sites

Alright, thanks, i'm very close to getting to the end of this. However, I looked through this UDF in a script you linked me, and it works good until it returns the string. It takes the tail and combines it to one string, however when it returns it, it like converts it into a string (I think).

--Edit--

Nevermind, simple return issue! THANKS! (I'm not too good when dealing with Binary stuff)

Edited by =sinister=
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...