Jump to content

Recommended Posts

Posted

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?

Posted

Lines are normally strings terminated by @CRLF or @LF so I wouldn't expect _FileCountLines to work on a non text file line an exe file.

Posted

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."
Posted

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.

Posted (edited)

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=

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
×
×
  • Create New...