Skip to content
⌘ NSIS Forum Archive

I don't understand FileSeek use

3 posts

n0On3#

I don't understand FileSeek use

I was looking for a way to find a line with a speciefied string in a users' machine, when I found this function FileSeek, how does it work, I didn't get a clear idea reading the docs.

btw, any solution to my first problem (I must say that comparing the entire line won't work because the line varies there's only a string which is constant).

Thanks🙂
kichik#
I have already answered this question in this thread:
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.


FileSeek is not what you are looking for. FileSeek moves the data pointer in the file. It can move the pointer to 500 characters from the beginning for example but it can't search strings.